login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
January
»
22
Re: [RFC][PATCH] VFS: create /proc/<pid>/mountinfo
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Serge E. Hallyn <serue@...>
To: Miklos Szeredi <miklos@...>
Cc: <linuxram@...>, <akpm@...>, <linux-fsdevel@...>, <linux-kernel@...>, <util-linux-ng@...>, <viro@...>, <hch@...>, <a.p.zijlstra@...>
Subject:
Re: [RFC][PATCH] VFS: create /proc/<pid>/mountinfo
Date: Tuesday, January 22, 2008 - 4:56 pm
Quoting Miklos Szeredi (
miklos@szeredi.hu
):
quoted text
> > On Mon, 2008-01-21 at 22:25 +0100, Miklos Szeredi wrote: > > > > You have removed the code that checked if the peer or > > > > master mount was in the same namespace before reporting their > > > > corresponding mount-ids. One downside of that approach is the > > > > user will see an mount_id in the output with no corresponding > > > > line to explain the details of the mount_id. > > > > > > Before the change, the peer and master ID's were basically randomly > > > chosen from the peers, which means, it wasn't possible to always > > > determine, that two mounts were peers, or that they were slaves to the > > > same peer group. > > > > > > After the change, this is possible, since the peer ID will be the same > > > for all mounts which are peers. This means, that even though the peer > > > ID might be in a different namespace, it is possible to determine all > > > peers within the same namespace by comparing their peer ID's. > > > > > > I agree with your reasoning on the random id; showing a single > > id avoids clutter. But my point is, why not show a > > id for the master or peer residing in the same namespace? > > Because this way it is possible see propagation between different > namespaces as well, by looking at the mount information for processes > in the different namespaces. Of course, this is only possible with > sufficient privileges.
Gotta say I agree with Miklos this would be useful. I'd far prefer to see the id than a -1. thanks, -serge
quoted text
> > Showing a id with no corresponding entry for that id, can be > > intriguing. > > Not if it's clearly documented (will add documentation for the next > submission). > > Miklos > - > To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in > the body of a message to
majordomo@vger.kernel.org
> More majordomo info at
http://vger.kernel.org/majordomo-info.html
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[RFC][PATCH] VFS: create /proc/<pid>/mountinfo
, Miklos Szeredi
, (Sat Jan 19, 7:05 am)
Re: [RFC][PATCH] VFS: create /proc/<pid>/mountinfo
, Ram Pai
, (Mon Jan 21, 3:48 pm)
Re: [RFC][PATCH] VFS: create /proc/<pid>/mountinfo
, Miklos Szeredi
, (Mon Jan 21, 5:25 pm)
Re: [RFC][PATCH] VFS: create /proc/<pid>/mountinfo
, Ram Pai
, (Mon Jan 21, 5:53 pm)
Re: [RFC][PATCH] VFS: create /proc/<pid>/mountinfo
, Miklos Szeredi
, (Mon Jan 21, 6:09 pm)
Re: [RFC][PATCH] VFS: create /proc/<pid>/mountinfo
, Serge E. Hallyn
, (Tue Jan 22, 4:56 pm)
Re: [RFC][PATCH] VFS: create /proc/<pid>/mountinfo
, Jan Engelhardt
, (Sun Jan 20, 7:20 am)
Re: [RFC][PATCH] VFS: create /proc/<pid>/mountinfo
, Miklos Szeredi
, (Sun Jan 20, 8:20 am)
Re: [RFC][PATCH] VFS: create /proc/<pid>/mountinfo
, H. Peter Anvin
, (Sun Jan 20, 1:41 am)
Re: [RFC][PATCH] VFS: create /proc/<pid>/mountinfo
, Miklos Szeredi
, (Sun Jan 20, 4:23 am)
Re: [RFC][PATCH] VFS: create /proc/<pid>/mountinfo
, Pavel Machek
, (Wed Jan 23, 9:49 am)
Re: [RFC][PATCH] VFS: create /proc/<pid>/mountinfo
, H. Peter Anvin
, (Wed Jan 23, 3:02 pm)
Re: [RFC][PATCH] VFS: create /proc/<pid>/mountinfo
, Miklos Szeredi
, (Wed Jan 23, 3:32 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Sunil Naidu
Re: Linux 2.6.20-rc6
Alan Cox
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Chris Snook
Re: init's children list is long and slows reaping children.
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
git
:
openbsd-misc
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Eric W. Biederman
Re: [PATCH 10/11] avoid kobject name conflict with different namespaces
Colocation donated by:
Who's online
There are currently
1 user
and
913 guests
online.
Online users
strcmp
Syndicate