>Bryan, what would you expect the behavior to be when somebody mounts on
>a directory what is already mounted over? 

Well, I've tried to beg the question.  I said I don't think it's 
meaningful to mount over a directory; that one actually mounts at a name. 
And that Linux's peculiar "mount over '.'" (which is in fact mounting over 
a directory and not at a name) is weird enough that there is no natural 
expectation of it except that it should fail.

But if I had to try to merge "mount over '.'" into as consistent a model 
as possible with one of the two behaviors we've been discussing, I'd say 
that "." stands for the name by which you looked up that directory in the 
first place (so in this case, it's equivalent to mount ... /mnt).  And 
that means I would expect the new mount to obscure the already existing 
mount.

--
Bryan Henderson                     IBM Almaden Research Center
San Jose CA                         Filesystems
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to