Re: rmdir of one's pwd (was Re: rmdir of a busy directory)

Andreas Schwab (schwab@issan.informatik.uni-dortmund.de)
15 Feb 1999 11:45:35 +0100


Alexander Viro <viro@math.psu.edu> writes:

|> On 15 Feb 1999, Andreas Schwab wrote:
|>
|> > NFS or local disk? That certainly makes a difference. The kernel in
|> > general does not care, but the filesystem may.
|>
|> Andreas, I had tested it only on 5.6 and there it gives the same result on
|> (a) NFS, (b) tmpfs, (c) local disk (UFS).

I have now found the difference: the home directory, where i tested it, is
mounted via lofs. I can confirm that rmdir fails as documented on tmpfs
(/tmp) and ufs (/var/tmp).

But it looks still strange to treat the pwd of the current process in such
a special way. That does not make any sense.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.cs.uni-dortmund.de                      completely different"
schwab@gnu.org

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/