]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: we support bind mounting regular files too 14553/head
authorLennart Poettering <lennart@poettering.net>
Mon, 13 Jan 2020 10:23:14 +0000 (11:23 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 13 Jan 2020 10:24:35 +0000 (11:24 +0100)
Let's be precise here: we accept non-directories here too, even though
we create things as directories if we find the Where= not to exist.

man/systemd.mount.xml

index 1adcba28e2f4ec27fe0782d0f849dfc468fcde5d..fe8a6f00cee1ec0bc7ddb2f802b8fec80f110804 100644 (file)
 
       <varlistentry>
         <term><varname>Where=</varname></term>
-        <listitem><para>Takes an absolute path of a directory for the
-        mount point; in particular, the destination cannot be a symbolic
-        link.  If the mount point does not exist at the time of
-        mounting, it is created. This string must be reflected in the
-        unit filename. (See above.) This option is
-        mandatory.</para></listitem>
+        <listitem><para>Takes an absolute path of a file or directory for the mount point; in particular, the
+        destination cannot be a symbolic link.  If the mount point does not exist at the time of mounting, it
+        is created as directory. This string must be reflected in the unit filename. (See above.) This option
+        is mandatory.</para></listitem>
       </varlistentry>
 
       <varlistentry>