diff options
Diffstat (limited to '')
-rw-r--r-- | man/systemd.mount.xml | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/man/systemd.mount.xml b/man/systemd.mount.xml index 9160db6f30..8607bd797f 100644 --- a/man/systemd.mount.xml +++ b/man/systemd.mount.xml @@ -76,13 +76,17 @@ which define the way the processes are terminated, and in <citerefentry><refentrytitle>systemd.resource-control</refentrytitle><manvolnum>5</manvolnum></citerefentry>, which configure resource control settings for the processes of the - service. Note that the User= and Group= options are not - particularly useful for mount units specifying a - <literal>Type=</literal> option or using configuration not - specified in <filename>/etc/fstab</filename>; + service.</para> + + <para>Note that the options <varname>User=</varname> and + <varname>Group=</varname> are not useful for mount units. + systemd passes two parameters to + <citerefentry project='man-pages'><refentrytitle>mount</refentrytitle><manvolnum>8</manvolnum></citerefentry>; + the values of <varname>What=</varname> and <varname>Where=</varname>. + When invoked in this way, <citerefentry project='man-pages'><refentrytitle>mount</refentrytitle><manvolnum>8</manvolnum></citerefentry> - will refuse options that are not listed in - <filename>/etc/fstab</filename> if it is not run as UID 0.</para> + does not read any options from <filename>/etc/fstab</filename>, and + must be run as UID 0.</para> <para>Mount units must be named after the mount point directories they control. Example: the mount point <filename noindex='true'>/home/lennart</filename> must be configured in a unit file <filename>home-lennart.mount</filename>. |