> 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
> %

i tried it with ramfs -D for a clue.

cpu% bind /net /net.alt
cpu% ramfs -D -m /tmp/empty
ramfs 229917:<-Tversion tag 65535 msize 8216 version '9P2000'
ramfs 229917:->Rversion tag 65535 msize 8216 version '9P2000'
ramfs 229917:<-Tattach tag 6 fid 1180 afid -1 uname fst aname 
ramfs 229917:->Rattach tag 6 qid (0000000000000000 0 d)
cpu% bind /tmp/empty /net
cpu% cd /net.alt/tcp
ramfs 229917:<-Twalk tag 6 fid 1180 newfid 583 nwname 1 0:tcp 
ramfs 229917:->Rerror tag 6 ename file does not exist
Can't cd /net.alt/tcp: '/net.alt/tcp' file does not exist
cpu% cd /net.alt
cpu% cd tcp
cpu% ls -l
d-r-xr-xr-x I 0 bootes  bootes 0 Nov 10  2004 0
...

that made me wonder of /net is bound before /net.alt; so i forced after:

cpu% bind -a /net /net.alt
cpu% ramfs -D -m /tmp/empty
ramfs 229992:<-Tversion tag 65535 msize 8216 version '9P2000'
ramfs 229992:->Rversion tag 65535 msize 8216 version '9P2000'
ramfs 229992:<-Tattach tag 16 fid 1153 afid -1 uname fst aname 
ramfs 229992:->Rattach tag 16 qid (0000000000000000 0 d)
cpu% bind /tmp/empty /net
cpu% cd /net.alt/tcp
cpu% ls -l
d-r-xr-xr-x I 0 bootes  bootes 0 Nov 10  2004 0
...

Reply via email to