From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: erik quanstrom Date: Wed, 19 Nov 2008 23:14:52 -0500 To: 9fans@9fans.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] fd2path and devsrv Topicbox-Message-UUID: 4a672fec-ead4-11e9-9d60-3106f5b1d025 > On Nov 19, 2008, at 7:32 PM, erik quanstrom wrote: > >> Sure it can: > >> % srv tcp!sources.cs.bell-labs.com!9fs test > >> % ls /net/tcp > >> /net/tcp/0 > >> /net/tcp/1 > >> /net/tcp/2 > >> /net/tcp/clone > >> % mount -n /net/tcp/2/data /n/test > >> % > > > > ; mount /net/il/0/data /n/x > > mount: mount /n/x: version conversion > > Huh? What gives -- of course I ran my example > in 9vx, but it shouldn't matter -- should it? your example does work; mine was a counter example. but in pointing out the nits, i missed the point. according to the ns(1) man page [...]The out- put is in the form of an rc(1) script that could, in princi- ple, recreate the name space. The output is produced by reading and reformatting the contents of /proc/pid/ns. so following fd2path along its merry way down to the source doesn't help generating such a script. i could think of cases where it would be a hinderance. perhaps you want a new program, nsroot that does what you suggest. - erik