From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <36dfcabf49bcb97045b5d799cf5e4404@9netics.com> To: 9fans@cse.psu.edu Subject: Re: [9fans] namespace oddness Date: Sat, 17 Nov 2007 12:16:08 -0800 From: Skip Tavakkolian <9nut@9netics.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: fe8a3aca-ead2-11e9-9d60-3106f5b1d025 > 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 ...