>
> # mkdir test
> # touch 1;touch 2;touch 3
> # mkdir hello
> # cd hello
> # rmdir ./
> # ls
> total 0
> # cd ..
> # mkdir hello
> # cd hello
> # rmdir ../
> rmdir: ..: Directory not empty
> # rm -rf ..
> rm: cannot remove `.' or `..'
> # rm -rf .
> rm: cannot remove `.' or `..'
>
> comparing the behavior of "rm -rf" and "rmdir", they are not
> very consistent.
Really? How odd - they _had_ some reason for implementing rmdir. Amazing,
isn't it? And you know what? I've heard that "and" is not the same
operation as "or"...
-
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/