Conor Schaefer on 24 May 2012 08:25:04 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] toy story2 nearly lost with rm*


On Thu, May 24, 2012 at 11:20 AM, Doug Stewart <zamoose@gmail.com> wrote:
On Thu, May 24, 2012 at 11:13 AM, Conor Schaefer
<conor.schaefer@gmail.com> wrote:
>
> Straw man argument; that isn't what Rich was talking about. He was saying, I
> think, that rm's current functionality is a bit silly and outdated,
> considering the usability possible with current technology. Personally, I
> don't think there's any benefit to the way rm works: it just hasn't evolved
> (which, admittedly, is all of our faults, in some way).
>

In what way is it a straw man argument? When rm was initially
developed, disk space and CPU cycles were at a premium. Keeping extra
files around to be garbage collected later was a waste of both
precious resources.

We interpreted Rich's argument differently; I'll defer to his opinion on his own thoughts, rather than continue to speak for him.
Â
You're 100% correct that it hasn't evolved since the epoch, basically,
and I think it comes down to the old UNIX philosophy: do one thing and
do it well (with piped inputs/outputs where possible!). `rm` is mighty
handy at deleting files, so there's little reason to change it.

The "proper" answer was suggested up-thread: btrfs/ZFS with
lightweight snapshots allowing you to pull chute if necessary.

Yes. I don't advocate modifying `rm` to be inconsistent with the cultural heritage of Unix, but it seems we're in agreement that new tools would be welcome. btrfs has me quite excited.
Â

--
-Doug
___________________________________________________________________________
Philadelphia Linux Users Group     --    Âhttp://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion Â-- Â http://lists.phillylinux.org/mailman/listinfo/plug

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug