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:00:15 +0100


Martin Tessun <martin.tessun@class.de> writes:

|> > Just tested on SunOS 5.5.1:
|> >
|> > $ mkdir xx
|> > $ cd xx
|> > $ rmdir .
|> > rmdir: directory ".": Can't remove current directory or ..
|> > $ rmdir ../xx
|> > $ ls -a
|> > $ ls ../xx
|> > ../xx: No such file or directory
|>
|> Haeh??
|>
|> godzilla% mkdir x
|> godzilla% cd x
|> godzilla% rmdir ../x
|> rmdir: directory "../x": Can't remove current directory or ..
|> godzilla% uname -sr
|> SunOS 5.5.1

NFS or local disk? That certainly makes a difference. The kernel in
general does not care, but the filesystem may.

-- 
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/