File: mount.md

package info (click to toggle)
rootlesskit 2.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 636 kB
  • sloc: sh: 433; makefile: 25
file content (10 lines) | stat: -rw-r--r-- 482 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
## Mount Propagation

The mount namespace created by RootlessKit has `rprivate` propagation by default.

Starting with v0.9.0, the propagation can be set to `rslave` by specifying `--propagation=rslave`.

The propagation can be also set to `rshared`, but known not to work with `--copy-up`.

Note that `rslave` and `rshared` do not work as expected when the host root filesystem isn't mounted with "shared".
(Use `findmnt -n -l -o propagation /` to inspect the current mount flag.)