Brian Foster wrote:
>  I use this fact on occasion to "save" data, via the well-
>  known attack of hard-linking to a supposedly-temporary file
>  I want to preserve.  the subsequent unlink(2)ing of the
>  "temporary" file does not destroy the data.
Now here is a thought: a Unix version of the "Deleted Items" folder.
In the root of a hard drive, create a directory ".unwanted". Then
periodically create hard links to every file on the hard drive that does not
have hard links.
That way, when someone accidentally does "rm *" or whatever, you still have
a link under ".unwanted"
Another script can then periodically clear out enough old files to ensure
that there is usually enough disk space.
Although this sounds like a horrible hack. It would no doubt be much better
to have a transaction oriented file system with a rollback facility.  :)
- Matthew
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.comm
--
Irish Linux Users' Group: ilug@linux.ie
http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
List maintainer: listmaster@linux.ie

from localhost (localhost [127.0.0.1])
	by phobos.labs.netnoteinc.com (Postfix) with ESMTP id BEF3D440C8
	for <jm@localhost>; Fri, 19 Jul 2002 18:06:51 -0400 (EDT)
from dogma.slashnull.org [212.17.35.15]
	by localhost with IMAP (fetchmail-5.9.0)
	for jm@localhost (single-drop); Fri, 19 Jul 2002 23:06:51 +0100 (IST)
from lugh.tuatha.org (root@lugh.tuatha.org [194.125.145.45]) by
    dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id g6JM3FJ07895 for
    <jm-ilug@jmason.org>; Fri, 19 Jul 2002 23:03:15 +0100
from lugh (root@localhost [127.0.0.1]) by lugh.tuatha.org
    (8.9.3/8.9.3) with ESMTP id WAA02765; Fri, 19 Jul 2002 22:57:34 +0100
from mail.magicgoeshere.com (nw152-60.indigo.ie [194.125.152.60]
    (may be forged)) by lugh.tuatha.org (8.9.3/8.9.3) with ESMTP id WAA02652
    for <ilug@linux.ie>; Fri, 19 Jul 2002 22:57:11 +0100
from bagend.magicgoeshere.com (ts10-040.dublin.indigo.ie
    [194.125.174.167]) by mail.magicgoeshere.com (Postfix) with ESMTP id
    9B09BF8FD for <ilug@linux.ie>; Fri, 19 Jul 2002 22:42:04 +0100 (IST)
by bagend.magicgoeshere.com (Postfix, from userid 501) id
    DE8C53C167; Fri, 19 Jul 2002 19:42:19 +0100 (IST)
From ilug-admin@linux.ie  Fri Jul 19 23:06:51 2002