diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-02-21 01:07:56 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-02-21 01:07:56 +0100 |
commit | 4ca763a9028865b155ee41ba5f169d3e5714f48d (patch) | |
tree | 72ddc811bfa39298373bb0de50c43797f737b50f /man/systemd.exec.xml | |
parent | nspawn: remove unnecessary mount option parsing logic (diff) | |
download | systemd-4ca763a9028865b155ee41ba5f169d3e5714f48d.tar.xz systemd-4ca763a9028865b155ee41ba5f169d3e5714f48d.zip |
core/namespace: make '-' prefix in Bind{,ReadOnly}Paths= work
Each path in `Bind{ReadOnly}Paths=` accept '-' prefix. However,
the prefix is completely ignored.
This makes it work as expected.
Diffstat (limited to 'man/systemd.exec.xml')
-rw-r--r-- | man/systemd.exec.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml index f01599f656..730a7d0d06 100644 --- a/man/systemd.exec.xml +++ b/man/systemd.exec.xml @@ -175,7 +175,9 @@ source path, destination path and option string, where the latter two are optional. If only a source path is specified the source and destination is taken to be the same. The option string may be either <literal>rbind</literal> or <literal>norbind</literal> for configuring a recursive or non-recursive bind - mount. If the destination path is omitted, the option string must be omitted too.</para> + mount. If the destination path is omitted, the option string must be omitted too. + Each bind mount definition may be prefixed with <literal>-</literal>, in which case it will be ignored + when its source path does not exist.</para> <para><varname>BindPaths=</varname> creates regular writable bind mounts (unless the source file system mount is already marked read-only), while <varname>BindReadOnlyPaths=</varname> creates read-only bind mounts. These |