mirror of
https://github.com/systemd/systemd.git
synced 2025-01-11 09:18:07 +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>
|
<varlistentry>
|
||||||
<term><varname>What=</varname></term>
|
<term><varname>What=</varname></term>
|
||||||
<listitem><para>Takes an absolute path of a device node, file or other resource to mount. See <citerefentry
|
<listitem><para>Takes an absolute path of a device node, file or other resource to mount. See
|
||||||
project='man-pages'><refentrytitle>mount</refentrytitle><manvolnum>8</manvolnum></citerefentry> for details. If
|
<citerefentry
|
||||||
this refers to a device node, a dependency on the respective device unit is automatically created. (See
|
project='man-pages'><refentrytitle>mount</refentrytitle><manvolnum>8</manvolnum></citerefentry> for
|
||||||
<citerefentry><refentrytitle>systemd.device</refentrytitle><manvolnum>5</manvolnum></citerefentry> for more
|
details. If this refers to a device node, a dependency on the respective device unit is automatically
|
||||||
information.) This option is mandatory. Note that the usual specifier expansion is applied to this setting,
|
created. (See
|
||||||
literal percent characters should hence be written as <literal>%%</literal>.</para></listitem>
|
<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>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
|
Loading…
Reference in New Issue
Block a user