9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Union mount directory behavior?
@ 2009-01-28  5:02 Nathaniel W Filardo
  2009-01-28  5:37 ` Russ Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Nathaniel W Filardo @ 2009-01-28  5:02 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 982 bytes --]

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;

[-- Attachment #2: Type: application/pgp-signature, Size: 204 bytes --]

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

end of thread, other threads:[~2009-01-28  5:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-28  5:02 [9fans] Union mount directory behavior? Nathaniel W Filardo
2009-01-28  5:37 ` Russ Cox

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).