diff options
Diffstat (limited to 'Documentation')
| -rw-r--r-- | Documentation/filesystems/proc.txt | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt index 518ebe609e2b..2a99116edc47 100644 --- a/Documentation/filesystems/proc.txt +++ b/Documentation/filesystems/proc.txt | |||
| @@ -43,6 +43,7 @@ Table of Contents | |||
| 43 | 2.13 /proc/<pid>/oom_score - Display current oom-killer score | 43 | 2.13 /proc/<pid>/oom_score - Display current oom-killer score |
| 44 | 2.14 /proc/<pid>/io - Display the IO accounting fields | 44 | 2.14 /proc/<pid>/io - Display the IO accounting fields |
| 45 | 2.15 /proc/<pid>/coredump_filter - Core dump filtering settings | 45 | 2.15 /proc/<pid>/coredump_filter - Core dump filtering settings |
| 46 | 2.16 /proc/<pid>/mountinfo - Information about mounts | ||
| 46 | 47 | ||
| 47 | ------------------------------------------------------------------------------ | 48 | ------------------------------------------------------------------------------ |
| 48 | Preface | 49 | Preface |
| @@ -2348,4 +2349,41 @@ For example: | |||
| 2348 | $ echo 0x7 > /proc/self/coredump_filter | 2349 | $ echo 0x7 > /proc/self/coredump_filter |
| 2349 | $ ./some_program | 2350 | $ ./some_program |
| 2350 | 2351 | ||
| 2352 | 2.16 /proc/<pid>/mountinfo - Information about mounts | ||
| 2353 | -------------------------------------------------------- | ||
| 2354 | |||
| 2355 | This file contains lines of the form: | ||
| 2356 | |||
| 2357 | 36 35 98:0 /mnt1 /mnt2 rw,noatime master:1 - ext3 /dev/root rw,errors=continue | ||
| 2358 | (1)(2)(3) (4) (5) (6) (7) (8) (9) (10) (11) | ||
| 2359 | |||
| 2360 | (1) mount ID: unique identifier of the mount (may be reused after umount) | ||
| 2361 | (2) parent ID: ID of parent (or of self for the top of the mount tree) | ||
| 2362 | (3) major:minor: value of st_dev for files on filesystem | ||
| 2363 | (4) root: root of the mount within the filesystem | ||
| 2364 | (5) mount point: mount point relative to the process's root | ||
| 2365 | (6) mount options: per mount options | ||
| 2366 | (7) optional fields: zero or more fields of the form "tag[:value]" | ||
| 2367 | (8) separator: marks the end of the optional fields | ||
| 2368 | (9) filesystem type: name of filesystem of the form "type[.subtype]" | ||
| 2369 | (10) mount source: filesystem specific information or "none" | ||
| 2370 | (11) super options: per super block options | ||
| 2371 | |||
| 2372 | Parsers should ignore all unrecognised optional fields. Currently the | ||
| 2373 | possible optional fields are: | ||
| 2374 | |||
| 2375 | shared:X mount is shared in peer group X | ||
| 2376 | master:X mount is slave to peer group X | ||
| 2377 | propagate_from:X mount is slave and receives propagation from peer group X (*) | ||
| 2378 | unbindable mount is unbindable | ||
| 2379 | |||
| 2380 | (*) X is the closest dominant peer group under the process's root. If | ||
| 2381 | X is the immediate master of the mount, or if there's no dominant peer | ||
| 2382 | group under the same root, then only the "master:X" field is present | ||
| 2383 | and not the "propagate_from:X" field. | ||
| 2384 | |||
| 2385 | For more information on mount propagation see: | ||
| 2386 | |||
| 2387 | Documentation/filesystems/sharedsubtree.txt | ||
| 2388 | |||
| 2351 | ------------------------------------------------------------------------------ | 2389 | ------------------------------------------------------------------------------ |
