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-02-08 09:22:39 -08:00
2008-02-08 09:22:39 -08:00
2008-02-08 09:22:40 -08:00
2008-02-14 21:13:33 -08:00
2008-02-08 09:22:40 -08:00
2008-03-30 14:20:23 -07:00
2008-02-14 21:13:33 -08:00
2008-02-14 21:13:33 -08:00
2008-03-04 14:47:06 -08:00
2008-02-08 09:22:40 -08:00
2007-10-22 08:13:21 -07:00
2008-02-23 17:12:13 -08:00
2008-04-21 11:22:28 -05:00
2008-02-08 09:22:40 -08:00
2008-03-19 06:42:18 -04:00
2008-03-30 14:18:41 -07:00
2008-03-30 14:18:41 -07:00
2007-10-18 14:37:31 -07:00
2008-03-30 14:18:41 -07:00
2008-04-11 08:06:43 -07:00
2008-03-04 16:35:10 -08:00
2008-01-30 13:31:46 +01:00
2008-02-05 09:44:07 -08:00
2007-05-21 09:18:19 -07:00
2007-05-08 11:15:01 -07:00
2008-02-14 21:13:33 -08:00
2008-02-06 10:41:07 -08:00
2008-01-30 13:31:46 +01:00
2008-02-14 21:13:33 -08:00
2006-10-01 00:39:19 -07:00
2006-03-23 07:38:11 -08:00
2008-04-21 22:15:06 +00:00
2008-02-14 21:13:33 -08:00
2008-02-05 09:44:07 -08:00