lkml.org 
[lkml]   [1997]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: patch for fs/dcache race
Date
Erik Andersen <andersen@inconnect.com> writes:
> Sounds like Linux just got undelete capabilities (independant of the
> filesystem even...) Very cool.
>
Hmm, OK, if you rewrite rm to do a system("/bin/sleep 3600 < /file/to/delete &")
then you can undelete all the files you obliterate for one full hour after you
accidentally delete them, simply because they're still open.

But that's not a good way to implement undelete. With a good undelete,
files stay around in a recoverable state until their space needs to be
reused, i.e. the disk is full or is getting too fragmented (THIS IS
IMPORTANT), or the inode table is full. Having rebooted the system is not
a good excuse for not being able to undelete files.

And yes, talk is cheap...

--
Matthias Urlichs
noris network GmbH

\
 
 \ /
  Last update: 2005-03-22 13:40    [from the cache]
©2003-2011 Jasper Spaans