proc.5: Add some background on why /proc/PID/mountinfo was added

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-05-06 12:53:44 +02:00
parent 7be43378e6
commit fb4bdaa1ea
1 changed files with 10 additions and 1 deletions

View File

@ -1099,8 +1099,17 @@ and
.TP
.IR /proc/[pid]/mountinfo " (since Linux 2.6.26)"
.\" This info adapted from Documentation/filesystems/proc.txt
.\" commit 2d4d4864ac08caff5c204a752bd004eed4f08760
This file contains information about mount points.
It contains lines of the form:
It supplies various information
(e.g., propagation state, root of mount for bind mounts,
identifier for each mount and its parent) that is missing from the (older)
.IR /proc/[pid]/mounts
file, and fixes various other problems with that file
(e.g., nonextensibility,
failure to distinguish per-mount versus per-superblock options).
The file contains lines of the form:
.nf
.ft CW