aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-05-06 12:53:44 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-05-07 07:48:23 +0200
commitfb4bdaa1ea84f63c1745c273fe87753092171c50 (patch)
tree488913c3b85be0232f1697703d7b0c19a5e8745b
parent7be43378e6e21dd0313a4e7ac9491314a03e9e97 (diff)
downloadman-pages-fb4bdaa1ea84f63c1745c273fe87753092171c50.tar.gz
proc.5: Add some background on why /proc/PID/mountinfo was added
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man5/proc.511
1 files changed, 10 insertions, 1 deletions
diff --git a/man5/proc.5 b/man5/proc.5
index cb85b9b2b9..85df02a450 100644
--- a/man5/proc.5
+++ b/man5/proc.5
@@ -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