NFS and UFS Mounting on a non-empty directory

Seth Robertson seth at ctr.columbia.edu
Mon Jul 24 05:40:57 AEST 1989


In article <12921 at bloom-beacon.MIT.EDU> jik at athena.mit.edu (Jonathan I. Kamens) writes:
>Yes, the concept of mounting over a non-empty directory is
>well-defined
>>     Its
>>     old contents are inaccessible while the file system is
>>     mounted.


The concept may be well defined, but the implementation bytes the big one.

In SunOS 4.0.3

seth elara> cd /mnt
seth elara> ls
testfile
seth elara> cat testfile
This is a test.
seth elara> mount leda:/image /mnt
seth elara> ls
lost+found not found
vdo not found
seth elara> cd vdo
vdo bad directory
seth elara> cat testfile
This is a test.
seth elara> cd /
seth elara> cd /mnt
seth elara> ls
lost_found	vdo
seth elara> cd vdo
seth elara> pwd
/mnt/vdo

(Note:  This is a hand copy of what actually happened, so I may have
screwed up a little on the error messages, but this is, for all intents
and purposes, what happened)

-- 
					-Seth Robertson
					 seth at ctr.columbia.edu



More information about the Comp.unix.wizards mailing list