Doug Stewart on 24 May 2012 08:20:33 -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: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.

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.

-- 
-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