FS 'namespace'

Serge E. Hallyn serue at us.ibm.com
Fri Dec 8 06:40:59 PST 2006


Quoting Herbert Poetzl (herbert at 13thfloor.at):
> 
> just a question: why do we keep the fs (struct_fs)
> outside of nsproxy?

Good question.  So we have a mounts namespace, and you
would consider the per-process fs root to be an fs
namespace?  Practically, it would mean that chroot
and pivot_mount would create a new nsproxy, but i guess
that's not a real problem.

It might force us to stop our current lazy checks for
'current->nsproxy==&init_nsproxy', since the pivot_mount
in early boot would make that not true.

-serge



More information about the Containers mailing list