On Nov 19, 2008, at 8:14 PM, erik quanstrom wrote:
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 now I'm curious -- why didn't it work?
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.
Fair enough. It does, invalidate the example given by
Rob in his article though:
-------------------------------------------------------------------------------
Another program, ns, does this; it reads the /proc/n/ns file, decodes
the information,
and interprets it, translating the network addresses and quoting the
names when required:
...
mount -a ’#s/dns’ /net
...
mount -c il!135.104.3.100!12884 /mnt/term
-------------------------------------------------------------------------------
Thanks,
Roman.