Ram Pai
2d4d4864ac
[patch 6/7] vfs: mountinfo: add /proc/<pid>/mountinfo
...
[mszeredi@suse.cz ] rewrite and split big patch into managable chunks
/proc/mounts in its current form lacks important information:
- propagation state
- root of mount for bind mounts
- the st_dev value used within the filesystem
- identifier for each mount and it's parent
It also suffers from the following problems:
- not easily extendable
- ambiguity of mountpoints within a chrooted environment
- doesn't distinguish between filesystem dependent and independent options
- doesn't distinguish between per mount and per super block options
This patch introduces /proc/<pid>/mountinfo which attempts to address
all these deficiencies.
Code shared between /proc/<pid>/mounts and /proc/<pid>/mountinfo is
extracted into separate functions.
Thanks to Al Viro for the help in getting the design right.
Signed-off-by: Ram Pai <linuxram@us.ibm.com >
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz >
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
2008-04-23 00:05:03 -04:00
..
2008-04-14 09:57:06 -07:00
2008-04-19 11:29:08 +01:00
2008-04-16 21:09:33 -07:00
2008-04-14 11:15:49 +02:00
2008-04-14 11:15:44 +02:00
2008-04-14 11:15:54 +02:00
2008-04-18 22:16:54 -04:00
2008-04-17 23:56:30 -07:00
2008-04-06 17:15:08 -04:00
2008-04-20 21:47:02 -07:00
2008-03-28 22:14:15 -04:00
2008-03-27 14:51:39 -04:00
2008-04-19 19:10:33 -07:00
2008-04-19 09:59:43 +10:00
2008-04-21 09:50:08 +02:00
2008-04-19 19:44:58 +02:00
2008-03-28 14:45:22 -07:00
2008-04-21 09:51:05 +02:00
2008-04-19 19:10:33 -07:00
2008-04-21 09:50:08 +02:00
2008-04-04 14:46:26 -07:00
2008-04-17 20:05:38 +02:00
2008-03-30 14:20:23 -07:00
2008-04-18 22:16:54 -04:00
2008-03-26 00:45:26 -04:00
2008-04-19 19:44:59 +02:00
2008-04-19 19:44:58 +02:00
2008-04-21 10:19:23 +08:00
2008-04-23 00:04:38 -04:00
2008-04-21 15:49:58 -07:00
2008-04-21 11:35:39 -05:00
2008-04-21 11:22:28 -05:00
2008-04-21 11:35:39 -05:00
2008-04-21 11:22:29 -05:00
2008-04-21 22:38:45 +00:00
2008-04-19 19:19:54 +02:00
2008-04-19 19:10:33 -07:00
2008-04-19 00:25:32 -04:00
2008-04-10 02:02:28 -07:00
2008-04-21 23:11:01 -04:00
2008-04-16 20:09:35 -04:00
2008-03-28 14:45:21 -07:00
2008-04-18 00:46:24 +02:00
2008-04-22 11:34:58 +02:00
2008-04-22 11:34:59 +02:00
2008-04-18 22:22:54 -04:00
2008-04-04 18:36:49 +02:00
2008-04-17 12:22:31 +02:00
2008-04-19 19:10:28 -07:00
2008-04-22 22:16:46 +02:00
2008-04-22 22:16:46 +02:00
2008-04-18 22:22:54 -04:00
2008-04-18 22:16:54 -04:00
2008-04-18 22:16:54 -04:00
2008-04-12 18:48:58 -07:00
2008-04-03 10:06:00 +09:00
2008-04-16 00:48:04 -07:00
2008-04-12 13:43:19 +09:00
2008-04-19 19:45:00 +02:00
2008-04-01 00:22:53 -04:00
2008-04-17 07:47:05 +02:00
2008-04-15 09:25:33 +02:00
2008-04-20 21:47:08 -07:00
2008-04-14 02:30:23 -07:00
2008-04-17 07:47:05 +02:00
2008-04-19 19:19:54 +02:00
2008-04-19 19:10:28 -07:00
2008-04-15 00:30:16 -07:00
2008-04-18 22:16:54 -04:00
2008-04-18 22:16:54 -04:00
2008-04-21 16:36:46 -07:00
2008-04-22 13:44:23 -07:00
2008-04-19 19:10:19 -07:00
2008-04-18 22:16:54 -04:00
2008-04-17 20:05:42 +02:00
2008-04-19 19:44:57 +02:00
2008-04-19 19:10:28 -07:00
2008-03-28 11:05:54 +11:00
2008-04-19 19:10:33 -07:00
2008-04-11 08:29:13 -07:00
2008-04-21 08:23:35 -07:00
2008-03-31 10:41:44 +01:00
2008-04-15 21:22:17 +10:00
2008-04-15 19:35:41 -07:00
2008-03-27 14:51:39 -04:00
2008-04-19 19:10:19 -07:00
2008-04-19 19:10:29 -07:00
2008-04-19 19:10:28 -07:00
2008-04-21 22:35:29 +00:00
2008-04-23 00:05:03 -04:00
2008-04-23 00:04:51 -04:00
2008-04-13 23:21:16 -07:00
2008-04-04 10:44:42 +09:00
2008-04-07 12:15:39 -05:00
2008-04-16 02:02:18 -07:00
2008-04-14 11:15:52 +02:00
2008-04-14 11:15:49 +02:00
2008-04-17 07:46:11 +10:00
2008-04-17 07:46:11 +10:00
2008-04-07 13:49:23 +10:00
2008-04-18 22:22:54 -04:00
2008-04-20 21:47:03 -07:00
2008-04-20 21:47:03 -07:00
2008-04-20 21:47:07 -07:00
2008-04-17 15:31:33 -04:00
2008-04-04 10:44:42 +09:00
2008-04-19 19:10:26 -07:00
2008-04-19 19:10:26 -07:00
2008-04-11 08:06:44 -07:00
2008-04-19 19:19:55 +02:00
2008-04-17 10:42:14 -04:00
2008-04-19 19:10:33 -07:00
2008-04-07 12:15:45 -05:00
2008-04-21 15:41:27 -07:00
2008-04-21 23:13:23 -04:00
2008-04-19 09:53:46 +10:00
2008-04-17 10:43:01 -04:00
2008-04-02 00:10:28 -07:00
2008-04-23 00:04:38 -04:00
2008-04-17 20:05:37 +02:00
2008-04-21 15:51:36 -07:00
2008-04-14 18:53:02 +03:00
2008-04-17 12:22:31 +02:00
2008-04-18 22:16:54 -04:00
2008-04-19 19:44:59 +02:00
2008-04-19 19:10:20 -07:00
2008-04-15 19:35:41 -07:00
2008-04-17 12:22:30 +02:00
2008-04-19 19:44:59 +02:00
2008-04-19 19:10:33 -07:00
2008-04-17 20:05:37 +02:00
2008-04-17 20:05:36 +02:00
2008-04-17 14:22:23 +02:00
2008-04-07 13:14:22 -07:00