Actions
Bug #1108
closedHammer: rmdir deletes regular files
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Description
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
Updated by dillon over 17 years ago
: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:
:--
:Francois Tigeot
Ok, that will be in the next commit, which is looking like tomorrow.
I have a few bug fixes to the reblocker under test right now.
-Matt
Matthew Dillon
<dillon@backplane.com>
Actions