aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2021-08-10 09:23:08 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-08-10 09:23:08 +0200
commit705bf534bbfe65521c678d6808c8d6da24943af1 (patch)
treed5540528d7b11261bc248bf0fdc13b27240c61a4
parent29fdc88d6ed14dc393650ef12ffd93b1d1d44ed7 (diff)
downloadman-pages-705bf534bbfe65521c678d6808c8d6da24943af1.tar.gz
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>
-rw-r--r--man2/mount_setattr.222
1 files changed, 2 insertions, 20 deletions
diff --git a/man2/mount_setattr.2 b/man2/mount_setattr.2
index aada2b23db..2f820b8b7c 100644
--- a/man2/mount_setattr.2
+++ b/man2/mount_setattr.2
@@ -374,35 +374,17 @@ the following values:
.TP
.B MS_PRIVATE
Turn all mounts into private mounts.
-Mount and unmount events do not propagate into or out of this mount point.
.TP
.B MS_SHARED
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
.B MS_SLAVE
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
.B MS_UNBINDABLE
-This is like a private mount,
-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.
+Turn all mounts into unbindable mounts.
.PP
-For further details on propagation types, see
+For further details on the above propagation types, see
.BR mount_namespaces (7).
.SH RETURN VALUE
On success,