From: Lennart Poettering Date: Mon, 13 Jan 2020 10:22:11 +0000 (+0100) Subject: man: document that we mkdir() on What= in .mount units too X-Git-Tag: v245-rc1~145^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=151a7133cd069b4813b702420867cc6c584e23f2;p=thirdparty%2Fsystemd.git 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 --- diff --git a/man/systemd.mount.xml b/man/systemd.mount.xml index b2c9d606814..1adcba28e2f 100644 --- a/man/systemd.mount.xml +++ b/man/systemd.mount.xml @@ -422,12 +422,16 @@ What= - Takes an absolute path of a device node, file or other resource to mount. See mount8 for details. If - this refers to a device node, a dependency on the respective device unit is automatically created. (See - systemd.device5 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 %%. + Takes an absolute path of a device node, file or other resource to mount. See + mount8 for + details. If this refers to a device node, a dependency on the respective device unit is automatically + created. (See + systemd.device5 + 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 %%. If this + mount is a bind mount and the specified path does not exist yet it is created as + directory.