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:
Michael Kerrisk 2021-08-10 09:23:08 +02:00
parent 29fdc88d6e
commit 705bf534bb
1 changed files with 2 additions and 20 deletions

View File

@ -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,