Messages in this thread | | | Date | Fri, 4 Jun 2010 05:01:58 +0100 | From | Al Viro <> | Subject | Re: mount namespace : who mounted what ? |
| |
On Thu, Jun 03, 2010 at 10:04:13PM +0200, Daniel Lezcano wrote: > Hi all, > > I was wondering, in a new mount namespace, if it is possible to know > which mount points were inherited and which were mounted in a new > namespace ? > > I looked at /proc/<pid>/mountinfo and investigated a bit on the > mount id, but this one is not reliable as it changes in the new > namespace. The /proc/<pid>/mounts file shows all the mount points > visible for the process inherited or not.
No more than "had it been this process that mmaped that area or was it inherited from the parent?"
| |