]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/nspawn/nspawn.c
nspawn: add (no)rbind option to --bind and --bind-ro 649/head
authorEugene Yakubovich <eugene.yakubovich@coreos.com>
Tue, 21 Jul 2015 22:48:38 +0000 (15:48 -0700)
committerEugene Yakubovich <eugene.yakubovich@coreos.com>
Sat, 29 Aug 2015 01:06:05 +0000 (18:06 -0700)
commit5e5bfa6e1c915e795dd99ab65275c4bf9af667ed
treed97072b83b0a6be50e246fa99d1d99536fb75460
parent0d04f1ffec81842ed7135746ccefe58186c93707
nspawn: add (no)rbind option to --bind and --bind-ro

--bind and --bind-ro perform the bind mount
non-recursively. It is sometimes (often?) desirable
to do a recursive mount. This patch adds an optional
set of bind mount options in the form of:
--bind=src-path:dst-path:options
options are comma separated and currently only
"rbind" and "norbind" are allowed.
Default value is "rbind".
man/systemd-nspawn.xml
src/nspawn/nspawn.c