9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Another namespace question
@ 2003-03-03 17:41 Keith Nash
  2003-03-03 18:10 ` Russ Cox
  2003-03-03 18:14 ` David Presotto
  0 siblings, 2 replies; 3+ messages in thread
From: Keith Nash @ 2003-03-03 17:41 UTC (permalink / raw)
  To: 9fans

This is a question about why namespaces were designed in the way that they were.

The command
bind path1 path2
where both path1 and path2 are directories, makes path2 a union directory consisting of path1 alone.  So far, so good.

Why was it decided that this command also does the following:
(a) any union directory previously bound to path2 is automatically unmounted, and is found to have disappeared if the new union directory at path2 is unmounted (this is not the case for Lunix mount); *but*...
(b) ...any union directory previously bound to a subdirectory of path2 is not unmounted.

A possible reason for (a) is to clean up the namespace by removing binds that are invisible; but then why (b)?

Keith.



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

end of thread, other threads:[~2003-03-03 18:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-03 17:41 [9fans] Another namespace question Keith Nash
2003-03-03 18:10 ` Russ Cox
2003-03-03 18:14 ` David Presotto

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