From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 28 Jan 2009 00:02:02 -0500 From: Nathaniel W Filardo To: 9fans@9fans.net Message-ID: <20090128050202.GF7757@masters6.cs.jhu.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sDKAb4OeUBrWWL6P" Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Subject: [9fans] Union mount directory behavior? Topicbox-Message-UUID: 8b54124a-ead4-11e9-9d60-3106f5b1d025 --sDKAb4OeUBrWWL6P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I don't actually know if this is incorrect behavior, but it strikes me as funny: term% ramfs -m /n/ram1 term% ramfs -m /n/ram2 term% bind /n/ram1 /n/ram term% bind -a /n/ram2 /n/ram term% mkdir /n/ram1/test term% mkdir /n/ram2/test term% touch /n/ram1/test/foo term% touch /n/ram2/test/bar term% ls -l /n/ram d-rwxrwxr-x M 47 nwf nwf 0 Jan 27 23:55 /n/ram/test d-rwxrwxr-x M 45 nwf nwf 0 Jan 27 23:55 /n/ram/test term% ls -l /n/ram/test --rw-rw-r-- M 45 nwf nwf 0 Jan 27 23:55 /n/ram/test/foo term% cat /n/ram/test/bar cat: can't open /n/ram/test/bar: '/n/ram/test/bar' does not exist Why don't I see /n/ram/test/bar? Kernel sources are relatively recent (replica/pull done a few days ago) but the same behavior happens in 9vx, which makes me think it's deliberate... but the existence of /rc/bin/replica and /386/bin/replica both suggests to me that these are supposed to be unioned together to allow replica/... to work at a command prompt? --nwf; --sDKAb4OeUBrWWL6P Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkl/5soACgkQTeQabvr9Tc/I+QCeJ4f7djnj+arzB/mgdkE+1heJ oVoAnRXFkOGJJ2MYdiGc5dooMj2Dwe9o =neS4 -----END PGP SIGNATURE----- --sDKAb4OeUBrWWL6P--