lkml.org 
[lkml]   [2010]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectmount namespace : who mounted what ?
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


\
 
 \ /
  Last update: 2010-06-03 22:07    [W:0.212 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site