Re: `rmdir .` doesn't work in 2.4

Andrea Arcangeli
2001-01-08T21:56:33Z

On Mon, Jan 08, 2001 at 04:08:58PM -0500, Alexander Viro wrote:
> Andrea, fix your code. Linux-only stuff is OK when there is no

BTW, "rmdir `pwd`" is not portable either.

> portable way to achieve the same result. In your situation such way indeed
> exists and is prefectly doable in userland. If you want a cute DoWhatIMean
> wrapper around rmdir(2) - fine, you've just written one of the variants.

As just said I'm really not concerned about my code.

> Any reasons to keep that in the kernel? None? Thank you, case closed.

I think it would provide nicer semantics as 2.2.x does. The performance
argument seems irrelevant to me.

Andrea