Path: utzoo!utgpu!watmath!att!ucbvax!bloom-beacon!mcgill-vision!mouse From: mouse@mcgill-vision.UUCP (der Mouse) Newsgroups: comp.unix.wizards Subject: Re: NFS and UFS Mounting on a non-empty directory Keywords: Frustration, Yellow Pages Message-ID: <1604@mcgill-vision.UUCP> Date: 9 Aug 89 09:35:26 GMT References: <2339@orion.cf.uci.edu> <12921@bloom-beacon.MIT.EDU> <1989Jul28.173335.1815@telotech.uucp> Distribution: na Organization: McGill University, Montreal Lines: 49 In article <1989Jul28.173335.1815@telotech.uucp>, bsa@telotech.UUCP (Brandon S. Allbery) writes: > In article <1989Jul23.194057.4247@ctr.columbia.edu>, seth@ctr (Seth Robertson) writes: >> In article <12921@bloom-beacon.MIT.EDU> jik@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 > This is correct, and happens even for local mounts. Read more closely. Why is it trying to find lost+found at all? There's no lost+found in the directory being covered by the mount. It seems that when ls is reading . to get the names, it sees the mounted directory, but when it tries to look up the names it found, it gets the mounted-upon directory. > if your current directory is the directory you mounted on, you'll > continue to see the same contents after the mount until [...] Yes, but he isn't, that's the point. It goes schizoid: the it sometimes looks like one and sometimes the other, depending on the operation being performed. > *This article may only be redistributed if all articles listed in the header's* > * References: field, and all articles listing this one in their References: * > * fields, are also redistributed. * You can be certain I'm not going to run around making sure we've got all the referenced articles before shipping yours out with the rest of the news that arrived at about the same time. Is this what you want me to have to do? It's what it sounds like. der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu