[PATCH 2/4] sysfs: Implement sysfs manged shadow directory support.

Tejun Heo htejun at gmail.com
Thu Jul 26 01:00:05 PDT 2007


Hello,

Okay, some questions.

* What do you think about not allowing duplicate names across different
tags?  ie. there's only one ethX anywhere but it's visible only in a
specific namespace (and maybe in the default global one).  Or does
everyone need its own eth0.  If this is acceptable, the problem becomes
_much_ simpler.

* I think we can do away with the magic tag and use a pointer to
vfsmount instead.  So, a process which wants to be in certain namespace
can bind-mount /sysfs to its own /sysfs and make needed sysfs nodes
bound to the mount.  Does this sound okay?  Such process should probably
be in its own chrooted environment to function properly.

* I haven't really followed the containers thread.  Do people generally
agree on including it in mainline when we have all the fancy
virtualization stuff?

Thanks.

-- 
tejun


More information about the Containers mailing list