mirror of https://github.com/mkerrisk/man-pages
mount_setattr.2: Remove description of propagation types
These types are already well described in mount_namespaces(7); indeed, much of the text from that page seems to have just been cut and pasted into this page! Simply referring the reader to mount_namespaces(7) is sufficient. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
29fdc88d6e
commit
705bf534bb
|
@ -374,35 +374,17 @@ the following values:
|
||||||
.TP
|
.TP
|
||||||
.B MS_PRIVATE
|
.B MS_PRIVATE
|
||||||
Turn all mounts into private mounts.
|
Turn all mounts into private mounts.
|
||||||
Mount and unmount events do not propagate into or out of this mount point.
|
|
||||||
.TP
|
.TP
|
||||||
.B MS_SHARED
|
.B MS_SHARED
|
||||||
Turn all mounts into shared mounts.
|
Turn all mounts into shared mounts.
|
||||||
Mount points share events with members of a peer group.
|
|
||||||
Mount and unmount events immediately under this mount point
|
|
||||||
will propagate to the other mount points that are members of the peer group.
|
|
||||||
Propagation here means that the same mount or unmount will automatically occur
|
|
||||||
under all of the other mount points in the peer group.
|
|
||||||
Conversely,
|
|
||||||
mount and unmount events that take place under peer mount points
|
|
||||||
will propagate to this mount point.
|
|
||||||
.TP
|
.TP
|
||||||
.B MS_SLAVE
|
.B MS_SLAVE
|
||||||
Turn all mounts into dependent mounts.
|
Turn all mounts into dependent mounts.
|
||||||
Mount and unmount events propagate into this mount point
|
|
||||||
from a shared peer group.
|
|
||||||
Mount and unmount events under this mount point do not propagate to any peer.
|
|
||||||
.TP
|
.TP
|
||||||
.B MS_UNBINDABLE
|
.B MS_UNBINDABLE
|
||||||
This is like a private mount,
|
Turn all mounts into unbindable mounts.
|
||||||
and in addition this mount can't be bind mounted.
|
|
||||||
Attempts to bind mount this mount will fail.
|
|
||||||
When a recursive bind mount is performed on a directory subtree,
|
|
||||||
any bind mounts within the subtree are automatically pruned
|
|
||||||
(i.e., not replicated)
|
|
||||||
when replicating that subtree to produce the target subtree.
|
|
||||||
.PP
|
.PP
|
||||||
For further details on propagation types, see
|
For further details on the above propagation types, see
|
||||||
.BR mount_namespaces (7).
|
.BR mount_namespaces (7).
|
||||||
.SH RETURN VALUE
|
.SH RETURN VALUE
|
||||||
On success,
|
On success,
|
||||||
|
|
Loading…
Reference in New Issue