On Mon, 08 Jan 2001, Andrea Arcangeli wrote: > On Mon, Jan 08, 2001 at 09:56:18PM +0100, [EMAIL PROTECTED] wrote: > Hardlinks have nothing to do with `rmdir .`. See rmdir . as the equivalent > pointed out by Alexander: "rmdir `pwd`". `pwd` returns the same thing You can't delete immutable directories such as . and .. Plus, don't ever dare to think of interpreting rmdir arguments. Just do what is written. rmdir . makes no sense. If someone wants rmdir `pwd` he's free to write just that. Of course, it's ugly because getcwd and the like are kludges, but you should only delete things you know anyhow. -- Matthias Andree - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: `rmdir .` doesn't work in 2.4 Benson Chow
- Re: `rmdir .` doesn't work in 2.4 Andrea Arcangeli
- Re: `rmdir .` doesn't work in 2.4 Wakko Warner
- Re: `rmdir .` doesn't work in 2.4 Andrea Arcangeli
- Re: `rmdir .` doesn't work in... Marc Lehmann
- Re: `rmdir .` doesn't work in 2.4 Bernhard Rosenkraenzer
- Re: `rmdir .` doesn't work in 2.4 Alexander Viro
- Re: `rmdir .` doesn't work in 2.4 Pavel Machek
- Re: `rmdir .` doesn't work in 2.4 Andries . Brouwer
- Re: `rmdir .` doesn't work in 2.4 Andrea Arcangeli
- Re: `rmdir .` doesn't work in 2.4 Matthias Andree
- Re: `rmdir .` doesn't work in 2.4 Andries . Brouwer
- Re: `rmdir .` doesn't work in 2.4 Andrea Arcangeli
- Re: `rmdir .` doesn't work in 2.4 Kurt Roeckx
- Re: `rmdir .` doesn't work in 2.4 Andries . Brouwer
- Re: `rmdir .` doesn't work in 2.4 Jesse Pollard
- Re: `rmdir .` doesn't work in 2.4 Andrea Arcangeli
- Re: `rmdir .` doesn't work in 2.4 Stephen C. Tweedie
- Re: `rmdir .` doesn't work in 2.4 Andrea Arcangeli
- Re: `rmdir .` doesn't work in 2.4 Alexander Viro
- Re: `rmdir .` doesn't work in... Andrea Arcangeli