[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ltp-list
Subject:    Re: [LTP] [TESTING] /proc/pid/mountinfo
From:       Subrata Modak <subrata () linux ! vnet ! ibm ! com>
Date:       2008-08-28 14:51:43
Message-ID: 1219934388.14205.0.camel () subratamodak ! linux ! ibm ! com
[Download RAW message or body]

On Tue, 2008-08-26 at 10:52 -0700, Ram Pai wrote:
> On Tue, 2008-08-26 at 08:53 +0200, Peter Zijlstra wrote:
> > [ltp-list removed as it creates these annoying non-member post bounces]
> > 
> > On Tue, 2008-08-26 at 03:02 +0530, Subrata Modak wrote:
> > > Hi Peter,
> > > 
> > > 2.6.26 introduced /proc/PID/mountinfo which addressed the deficiencies
> > > of /proc/mounts, etc. I would request to know if you would have
> > > developed test cases to test this feature(s). In that case, would it be
> > > possible for you to share these test cases with LTP under GPLv2 ?
> > 
> > Not sure why you ask me specifically, Ram wrote the original, Miklos
> > massaged it into mainline and Al manages the VFS tree as can be seen
> > from the commit. I'm not sure there were any test cases involved other
> > than cat and eyeballing the results - but who knows, Ram, Miklos?
> 
> 
> No I do not have any test cases. A few test cases will certainly help.
> However I am not sure if I can commit to write them in the near term. I
> can try. 

Thanks Ram. I will wait. Please do let me know if you write them.

Regards--
Subrata

> 
> RP
> 
> > 
> > ---
> > 
> > commit 2d4d4864ac08caff5c204a752bd004eed4f08760
> > Author: Ram Pai <linuxram@us.ibm.com>
> > Date:   Thu Mar 27 13:06:25 2008 +0100
> > 
> >     [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>
> > 
> 
> 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic