From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Fri, 7 Sep 2007 15:15:48 -0500 From: "Eric Van Hensbergen" To: weigelt@metux.de, "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] 1/2 OT: per-process mounts/namespace @ Linux In-Reply-To: <20070907200915.GA20929@nibiru.local> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070907200915.GA20929@nibiru.local> Cc: Topicbox-Message-UUID: bb1c7b18-ead2-11e9-9d60-3106f5b1d025 Linux actually has private namespaces, its just off by default. There is a flag to clone which can be used to establish new processes in private namespaces (CLONENS or some such thng). Primary downside is that its superuser only -- but you could get around it with setuid or custom kernel. -eric On 9/7/07, Enrico Weigelt wrote: > > Hi folks, > > > I was just reading some older mails on this list and thinking > about how to mimic the plan9 behaviour of local namespaces on > Linux. My idea is: > > * each namespace is just some directory, ie. living somewhere > under /.NAMESPACES/, maybe /.NAMESPACES// > * these namespaces are maintained by either some daemon or > an special synthetic filesystem > * processes with private namespaces are chroot()'ed to their > own namespace directory. > > > What do you think about this ? > > > cu > -- > --------------------------------------------------------------------- > Enrico Weigelt == metux IT service - http://www.metux.de/ > --------------------------------------------------------------------- > Please visit the OpenSource QM Taskforce: > http://wiki.metux.de/public/OpenSource_QM_Taskforce > Patches / Fixes for a lot dozens of packages in dozens of versions: > http://patches.metux.de/ > --------------------------------------------------------------------- >