mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
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
This commit is contained in:
parent
6b8fe4c30c
commit
151a7133cd
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user