X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsystemd.mount.xml;h=78b5f5257c3aea88603cd2782dffbf009be8edf2;hp=d733f8153963c5688913c69a12c3f77d7219c97c;hb=16e6f6130bd9b7869916ee2550236ce9a5f6de5c;hpb=c485d3ba094a0bf8d0165a4ba3eb5602cc21812a diff --git a/man/systemd.mount.xml b/man/systemd.mount.xml index d733f8153..78b5f5257 100644 --- a/man/systemd.mount.xml +++ b/man/systemd.mount.xml @@ -44,7 +44,7 @@ systemd.mount - systemd mount configuration files + Mount unit configuration @@ -72,7 +72,17 @@ systemd.exec5, which define the execution environment the mount8 - binary is executed in. + binary is executed in, and in + systemd.kill5 + which define the way the processes are + terminated. Note that the User= and Group= options are + not particularly useful for mount units specifying a + Type= option or using configuration + not specified in /etc/fstab; + mount8 + will refuse options that aren't listed in + /etc/fstab if it is not run as + UID 0. Mount units must be named after the mount point directories they control. Example: the mount point @@ -88,7 +98,7 @@ mounting. See systemd.automount5. - If an mount point is beneath another mount point + If a mount point is beneath another mount point in the file system hierarchy, a dependency between both units is created automatically. @@ -104,7 +114,12 @@ Mount units may either be configured via unit files, or via /etc/fstab (see fstab5 - for details). + for details). Mounts listed in + /etc/fstab will be converted into + native units dynamically at boot and when the + configuration of the system manager is reloaded. See + systemd-fstab-generator8 + for details about the conversion. When reading /etc/fstab a few special mount options are understood by systemd @@ -125,7 +140,7 @@ should wait for a device to show up before giving up on an entry from /etc/fstab. Specify a time in - seconds or explicitly specifiy a unit as + seconds or explicitly specify a unit as s, min, h, ms. @@ -142,7 +157,9 @@ supervises. A number of options that may be used in this section are shared with other unit types. These options are documented in - systemd.exec5. The + systemd.exec5 + and + systemd.kill5. The options specific to the [Mount] section of mount units are the following: @@ -167,7 +184,7 @@ Where= Takes an absolute path of a directory of the mount point. If - the mount point is not existing at + the mount point does not exist at the time of mounting, it is created. This string must be reflected in the unit file name. (See above.) This option is @@ -215,50 +232,21 @@ will be terminated forcibly via SIGTERM, and after another delay of this time with SIGKILL. (See - below.) + in + systemd.kill5.) Takes a unit-less value in seconds, or a time span value such as "5min 20s". Pass 0 to disable the timeout logic. Defaults to 90s. - - - KillMode= - Specifies how - processes of this mount shall be - killed. One of - , - , - . - - This option is mostly equivalent - to the - option of service files. See - systemd.service5 - for details. - - - - KillSignal= - Specifies which signal - to use when killing a process of this - mount. Defaults to SIGTERM. - - - - - SendSIGKILL= - Specifies whether to - send SIGKILL to remaining processes - after a timeout, if the normal - shutdown procedure left processes of - the mount around. Takes a boolean - value. Defaults to "yes". - - - + + Check + systemd.exec5 + and + systemd.kill5 + for more settings. @@ -290,9 +278,11 @@ systemctl8, systemd.unit5, systemd.exec5, + systemd.kill5, systemd.service5, systemd.device5, - mount8 + mount8, + systemd-fstab-generator8