9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] namespace oddness
@ 2007-11-17 12:47 roger peppe
  2007-11-17 20:16 ` Skip Tavakkolian
  2007-11-19 14:53 ` Russ Cox
  0 siblings, 2 replies; 4+ messages in thread
From: roger peppe @ 2007-11-17 12:47 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

what's going on here? the bind of an empty directory onto
/net seems to disrupt the mount table somehow.
i can't think of an existing feature of the namespace
implementation that would explain this behaviour.
is something ignoring the device number, maybe?

does anyone else get the same behaviour?

% bind /net /net.alt
% mkdir /tmp/empty
% bind /tmp/empty /net
% cd /net.alt/tcp
Can't cd /net.alt/tcp: '/net.alt/tcp' file does not exist
cpu% ls -l /net.alt/tcp
ls: /net.alt/tcp: '/net.alt/tcp' file does not exist
% cd /net.alt
% cd tcp
% ls -l
--rw-rw-rw- I 0 network bootes 0 Jun 28 12:36 clone
--r--r--r-- I 0 network bootes 0 Jun 28 12:36 stats
%

[sorry if this post appears a few times in different forms;
i'm trying to get past what i assume is a garbage detector,
so i'm assuming that more text to transcript might make it
think it's a legit post, but you never know; i'll just keep adding
random text until its likes it. or maybe it's something else entirely;
we'll see. sorry for this garbage]


^ permalink raw reply	[flat|nested] 4+ messages in thread
* [9fans] namespace oddness
@ 2007-11-16 15:37 roger peppe
  0 siblings, 0 replies; 4+ messages in thread
From: roger peppe @ 2007-11-16 15:37 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

what's going on here?

cpu% bind /net /net.alt
cpu% cd /net.alt/icmp
cpu% ls -l
--rw-rw-rw- I 0 network bootes 0 Jun 28 12:36 clone
--r--r--r-- I 0 network bootes 0 Jun 28 12:36 stats
cpu% mkdir /tmp/empty
cpu% bind /tmp/empty /net
cpu% cd /net.alt/icmp                   # doesn't work!
Can't cd /net.alt/icmp: '/net.alt/icmp' file does not exist
cpu% cd /net.alt
cpu% cd icmp                               # ... but this does work.
cpu% ls -l
--rw-rw-rw- I 0 network bootes 0 Jun 28 12:36 clone
--r--r--r-- I 0 network bootes 0 Jun 28 12:36 stats
cpu%


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-11-19 14:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-17 12:47 [9fans] namespace oddness roger peppe
2007-11-17 20:16 ` Skip Tavakkolian
2007-11-19 14:53 ` Russ Cox
  -- strict thread matches above, loose matches on Subject: below --
2007-11-16 15:37 roger peppe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).