From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 19 Nov 2008 19:31:42 -0800 From: Roman Shaposhnik In-reply-to: <998fbeea126caa967d58924a3b8433f6@quanstro.net> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-id: <59F7E2FC-7FFD-4A31-9821-21AA679F9921@sun.com> MIME-version: 1.0 Content-type: text/plain; delsp=yes; format=flowed; charset=US-ASCII Content-transfer-encoding: 7BIT References: <998fbeea126caa967d58924a3b8433f6@quanstro.net> Subject: Re: [9fans] fd2path and devsrv Topicbox-Message-UUID: 4a5bae4c-ead4-11e9-9d60-3106f5b1d025 On Nov 19, 2008, at 6:55 PM, erik quanstrom wrote: >>> i think the answer to your question is that it's a lot more useful >>> to know that it's #s/boot rather than /net/il/0/data. >> Really? Why? With /net/il/0/data you have an option of digging >> deeper and >> finding out the other end's address, etc. Or to flip the question >> -- what >> information does #s/boot provide? > > the reason why #s/boot is useful is twofold. the name means > something. #s/boot is a bit special but I get your general point. So, let me rephrase: the usefulness of #s/foo is determined by the naming convention. > this is a connection to the fs used to boot the machine. second, / > net/il/0/data > can't be mounted. 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 % > if you want the name of something to mount, ns gives > you want you want. Not really, what gets mounted is a Chan to /net/tcp/*/data as far as I cat tell. > why are you complaining that ns gives you the most useful > information? I'm not complaining about /proc/*/ns I'm complaining about ns(1) which already does some translations of raw data from /proc/*/ns but not this particular one. Thanks, Roman.