From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: text/plain; charset="iso-8859-1" From: Ronald G Minnich To: 9fans@cse.psu.edu Subject: Re: [9fans] Private Namespaces for Linux References: <0111201448570B.13061@snaresland> In-Reply-To: <0111201448570B.13061@snaresland> MIME-Version: 1.0 Message-Id: <0111201528190E.13061@snaresland> Content-Transfer-Encoding: 8bit Date: Tue, 20 Nov 2001 15:28:19 -0700 Topicbox-Message-UUID: 25ba8900-eaca-11e9-9e20-41e7f4b1d025 On Tuesday 20 November 2001 14:48, Ronald G Minnich wrote: > > > To start with, namespaces had been available on 2.4 since at least > > March. See patches on ftp.math.psu.edu/pub/viro/ - namespaces-* is that > > + related VFS cleanups. Currently most of that is merged into the main > > tree. Remaining stuff will go in when I'll somewhat clean the backlog on > > other things. And it's a real thing - it isn't limited to #M > > combinations, any fs can be used. So for those of you, like me, who try to follow this up: The patches: cftp /pub/viro > ls *name* U4-rename-S5 namespaces-a-S8-pre2 namespaces-S2.gz@ namespaces-a-S8-pre3 namespaces-a-S10-pre2 namespaces-a-S8-pre4 namespaces-a-S10-pre9 namespaces-b-S3-pre8.gz namespaces-a-S11-pre5.gz namespaces-b-S4-pre6.gz namespaces-a-S2.gz namespaces-c-S4-pre6.gz namespaces-a-S4.gz namespaces-c-S5 namespaces-a-S6-pre2 namespaces-c-S5-pre6.gz namespaces-a-S6-pre5 namespaces-d-S2.gz namespaces-a-S7-pre3 namespaces-d-S4-pre6.gz ncftp /pub/viro > Hmm, now what. Given the pace of change in 2.4 kernels, I can perhaps be forgiven for wondering how solid all this will be. Anyway, once it's really in I'll be happy to give it a shot. Although some folks I know who are using it aren't quite sure it fits the description of "private name spaces" Also, Linux-specific only. My stuff does do the libc hack on several other OSes, including freebsd. Just FYI. Oh, forgot to mention: the libc interface to my stuff also supports exporting a name space and importing it into another process -- e.g. a child. You really need that for fork(). But I think this will work in combination with Erik Hendrik's bproc stuff, so you can get the equivalent of cpu on a Scyld-based cluster. I have tested exporting name spaces to other processes on other machines, and it works fine. Oh, one other thing: Peter Braam and I did an alternate way of doing private name spaces a few years ago on Linux, see the pnsdev at www.sourceforge.net. Sorry to pollute this list with a non-plan-9 discussion, however, so I won't respond to further flames unless they're private. Some messages are not worth responding to in public. ron