DragonFly bugs List (threaded) for 2008-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Hammer: rmdir deletes regular files
On an ufs partition, rmdir(1) removes only empty directories.
If one uses it on a hammer filesystem, it is also able to delete regular
files:
Ufs example:
$ touch one two
$ mkdir three
$ rmdir one two three
rmdir: one: Not a directory
rmdir: two: Not a directory
$ ls one two three
ls: three: No such file or directory
one two
Hammer example:
$ touch one two
$ mkdir three
$ rmdir one two three
$ ls one two three
ls: one: No such file or directory
ls: three: No such file or directory
ls: two: No such file or directory
--
Francois Tigeot
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]