storage_mount

SolidGroundUX DocumentationSolidGroundUX
NL

fn: storage_mount

Purpose

Mount the configured SolidGroundUX storage filesystem.

Behavior

  • Verifies that the default mount point has an /etc/fstab entry.
  • Creates the mount-point directory when needed.
  • Mounts the configured filesystem unless it is already mounted.
  • Honors console dry-run mode.

Inputs

(globals): FLAG_DRYRUN

Returns

  • 0 when storage is mounted or already mounted, otherwise non-zero.

Usage

  storage_mount