mirror of https://github.com/mkerrisk/man-pages
mount.2: Mention /proc/PID/mountinfo
Many people are unaware of the /proc/PID/mountinfo file. Provide a helpful clue here. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
93f5b0f8f4
commit
3ef2a133bf
12
man2/mount.2
12
man2/mount.2
|
@ -794,9 +794,17 @@ subsequently creates) and vice versa.
|
|||
The Linux-specific
|
||||
.I /proc/[pid]/mounts
|
||||
file exposes the list of mount points in the mount
|
||||
namespace of the process with the specified ID; see
|
||||
namespace of the process with the specified ID.
|
||||
The
|
||||
.I /proc/[pid]/mountinfo
|
||||
file exposes even more information about mount points,
|
||||
including the propagation type and mount ID information that makes it
|
||||
possible to discover the parental relationship between mount points.
|
||||
See
|
||||
.BR proc (5)
|
||||
for details.
|
||||
and
|
||||
.BR mount_namespaces (7)
|
||||
for details of these files.
|
||||
.SH SEE ALSO
|
||||
.BR mountpoint (1),
|
||||
.BR umount (2),
|
||||
|
|
Loading…
Reference in New Issue