mirror of https://github.com/mkerrisk/man-pages
mount.2: Rework the text on mount namespaces a little
Eliminate the term "Per-process namespaces" and add a reference to mount_namespaces(7). Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
5d3bcce72d
commit
dd858bfd5e
10
man2/mount.2
10
man2/mount.2
|
@ -849,12 +849,11 @@ Since Linux 2.4 the set-user-ID and set-group-ID bits are
|
|||
just silently ignored in this case.
|
||||
.\" The change is in patch-2.4.0-prerelease.
|
||||
.\"
|
||||
.SS Per-process namespaces
|
||||
Starting with kernel 2.4.19, Linux provides
|
||||
per-process mount namespaces.
|
||||
.SS Mount namespaces
|
||||
Starting with kernel 2.4.19, Linux provides mount namespaces.
|
||||
A mount namespace is the set of filesystem mounts that
|
||||
are visible to a process.
|
||||
Mount-point namespaces can be (and usually are)
|
||||
Mount namespaces can be (and usually are)
|
||||
shared between multiple processes,
|
||||
and changes to the namespace (i.e., mounts and unmounts) by one process
|
||||
are visible to all other processes sharing the same namespace.
|
||||
|
@ -886,6 +885,9 @@ of the namespace that it was previously sharing with other processes,
|
|||
so that future mounts and unmounts by the caller are invisible
|
||||
to other processes (except child processes that the caller
|
||||
subsequently creates) and vice versa.
|
||||
.PP
|
||||
For further details on mount namespaces, see
|
||||
.BR mount_namespaces (7).
|
||||
.\"
|
||||
.SS /proc/[pid]/mounts and /proc/[pid]/mountinfo
|
||||
The Linux-specific
|
||||
|
|
Loading…
Reference in New Issue