From 705bf534bbfe65521c678d6808c8d6da24943af1 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 10 Aug 2021 09:23:08 +0200 Subject: [PATCH] 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 --- man2/mount_setattr.2 | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/man2/mount_setattr.2 b/man2/mount_setattr.2 index aada2b23d..2f820b8b7 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,