GNU bug report logs -
#12400
rmdir: add --one-file-system option
Previous Next
Reported by: Linda Walsh <coreutils <at> tlinx.org>
Date: Mon, 10 Sep 2012 00:32:01 UTC
Severity: wishlist
Tags: wontfix
Done: Assaf Gordon <assafgordon <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #32 received at 12400 <at> debbugs.gnu.org (full text, mbox):
Linda Walsh writes:
>
> rm ** removes all the files under a dir, and rmdir ** removes all the empty
> directories
> under a dir. It was the natural progression of avoiding a crippled feature in rm...
>
For someone who claims to have been unix for so long that you consider 4.3BSD
a recent deviation from the norm, you are awfully clueless about how
everything works. Or pretending to be so as a way of escalating the drama.
And the problem you won't quit bugging everyone about is hardly a problem
anyway; how often does the "remove everything under this directory, but not
crossing mount points, and not removing this directory itself" operation
actually prove necessary?
What you're doing is *weird* and there's no reason to *expect* it to be a
less-than-10-character command. It's still a one-liner with find, as you've
already been shown.
Unix deliberately presents a single unified filesystem namespace in which
mount points look like normal directories. Recursion that traverses all
directories except mount points is *weird*.
And mounting something under /tmp that isn't logically part of /tmp (and
subject to the same cleanup policy) is *very weird*.
Please stop filing bug reports resulting from your own weirdness.
--
Alan Curry
This bug report was last modified 6 years and 164 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.