summaryrefslogtreecommitdiff
path: root/man/systemd.mount.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-01-13 11:22:11 +0100
committerLennart Poettering <lennart@poettering.net>2020-01-13 11:23:59 +0100
commit151a7133cd069b4813b702420867cc6c584e23f2 (patch)
treedad334899bb1e1f8cc9c2afbffa6d25e053a428e /man/systemd.mount.xml
parent6b8fe4c30cbb16b48c7e27396e93639155151fd1 (diff)
downloadsystemd-151a7133cd069b4813b702420867cc6c584e23f2.tar.gz
man: document that we mkdir() on What= in .mount units too
As suggested here: https://lists.freedesktop.org/archives/systemd-devel/2020-January/043914.html
Diffstat (limited to 'man/systemd.mount.xml')
-rw-r--r--man/systemd.mount.xml16
1 files changed, 10 insertions, 6 deletions
diff --git a/man/systemd.mount.xml b/man/systemd.mount.xml
index b2c9d60681..1adcba28e2 100644
--- a/man/systemd.mount.xml
+++ b/man/systemd.mount.xml
@@ -422,12 +422,16 @@
<varlistentry>
<term><varname>What=</varname></term>
- <listitem><para>Takes an absolute path of a device node, file or other resource to mount. See <citerefentry
- project='man-pages'><refentrytitle>mount</refentrytitle><manvolnum>8</manvolnum></citerefentry> for details. If
- this refers to a device node, a dependency on the respective device unit is automatically created. (See
- <citerefentry><refentrytitle>systemd.device</refentrytitle><manvolnum>5</manvolnum></citerefentry> for more
- information.) This option is mandatory. Note that the usual specifier expansion is applied to this setting,
- literal percent characters should hence be written as <literal>%%</literal>.</para></listitem>
+ <listitem><para>Takes an absolute path of a device node, file or other resource to mount. See
+ <citerefentry
+ project='man-pages'><refentrytitle>mount</refentrytitle><manvolnum>8</manvolnum></citerefentry> for
+ details. If this refers to a device node, a dependency on the respective device unit is automatically
+ created. (See
+ <citerefentry><refentrytitle>systemd.device</refentrytitle><manvolnum>5</manvolnum></citerefentry>
+ for more information.) This option is mandatory. Note that the usual specifier expansion is applied
+ to this setting, literal percent characters should hence be written as <literal>%%</literal>. If this
+ mount is a bind mount and the specified path does not exist yet it is created as
+ directory.</para></listitem>
</varlistentry>
<varlistentry>