mount namespace : who mounted what ?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Daniel Lezcano
Date: Thursday, June 3, 2010 - 1:04 pm

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.

Any ideas ?

Thanks
   -- Daniel
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
mount namespace : who mounted what ?, Daniel Lezcano, (Thu Jun 3, 1:04 pm)
Re: mount namespace : who mounted what ?, Al Viro, (Thu Jun 3, 9:01 pm)
Re: mount namespace : who mounted what ?, Daniel Lezcano, (Fri Jun 4, 3:14 am)