Re: rmdir(".") works, and causes havoc

Alan Cox (
Wed, 6 Aug 1997 09:51:06 +0100 (BST)

> You could follow the precident set by the FSF. Allow the new enhanced
> behavior by default, but provide a switch, for example:
> $ echo "1" > /proc/POSIXLY_CORRECT
> To force the POSIX-mandated brain-damage.

Ick, that doesn't make it per file system. The one you are more likely to
see and which follows file system semantics better is

mount -t ext2 -o posix /dev/blah /home