OS Manuals

/usr/bin/systemd-mount

The systemd System and Service Manager

From systemd 262.2-r1 (os), captured 2026-11-05 by running systemd-mount --help (exit 0). permalink

> systemd-mount [OPTION…] WHAT [WHERE]
> systemd-mount [OPTION…] --tmpfs [NAME] WHERE
> systemd-mount [OPTION…] --list
> systemd-mount [OPTION…] --umount WHAT|WHERE…

Establish a mount or auto-mount point.

Common options:
  -h --help                          Show this help
     --version                       Show package version
     --user                          Run as user unit
  -H --host=[USER@]HOST              Operate on remote host
  -M --machine=CONTAINER             Operate on local container
     --canonicalize=BOOL             Whether to canonicalize path before operation
     --no-block                      Do not wait until operation finished
     --no-pager                      Do not start a pager
     --no-legend                     Do not show headers and footers
  -l --full                          Do not ellipsize output
     --no-ask-password               Do not prompt for password
  -q --quiet                         Suppress informational messages during runtime
     --json=FORMAT                   Generate JSON output (pretty, short, or off)

Mount options:
     --discover                      Discover mount device metadata
  -t --type=TYPE                     File system type
  -o --options=OPTIONS               Mount options
     --owner=USER                    Add uid= and gid= options for USER
     --fsck=BOOL                     Run a file system check before mount
     --description=TEXT              Description for unit
  -p --property=NAME=VALUE           Set mount unit property
  -A                                 Same as --automount=yes
     --automount=BOOL                Create an automount point
     --timeout-idle-sec=SEC          Specify automount idle timeout
     --automount-property=NAME=VALUE Set automount unit property
     --bind-device                   Bind automount unit to device
     --list                          List mountable block devices
  -u --umount                        Unmount mount points
  -G --collect                       Unload unit after it stopped, even when failed
  -T --tmpfs                         Create a new tmpfs on the mount point

See the systemd-mount(1) man page for details.
Options (28)
OptionDescriptionSource
-h --helpShow this helphelp
--versionShow package versionhelp
--userRun as user unithelp
-H --host=[USER@]HOSTOperate on remote hosthelp
-M --machine=CONTAINEROperate on local containerhelp
--canonicalize BOOLWhether to canonicalize path before operationhelp
--no-blockDo not wait until operation finishedhelp
--no-pagerDo not start a pagerhelp
--no-legendDo not show headers and footershelp
-l --fullDo not ellipsize outputhelp
--no-ask-passwordDo not prompt for passwordhelp
-q --quietSuppress informational messages during runtimehelp
--json FORMATGenerate JSON output (pretty, short, or off)help
--discoverDiscover mount device metadatahelp
-t --type=TYPEFile system typehelp
-o --options=OPTIONSMount optionshelp
--owner USERAdd uid= and gid= options for USERhelp
--fsck BOOLRun a file system check before mounthelp
--description TEXTDescription for unithelp
-p --property=NAME=VALUESet mount unit propertyhelp
-ASame as --automount=yeshelp
--automount BOOLCreate an automount pointhelp
--timeout-idle-sec SECSpecify automount idle timeouthelp
--bind-deviceBind automount unit to devicehelp
--listList mountable block deviceshelp
-u --umountUnmount mount pointshelp
-G --collectUnload unit after it stopped, even when failedhelp
-T --tmpfsCreate a new tmpfs on the mount pointhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.