Re: Deleted files recovery

Rogier Wolff (R.E.Wolff@BitWizard.nl)
Wed, 16 Sep 1998 15:10:39 +0200 (MEST)


Jim Nance wrote:
> On Tue, Sep 15, 1998 at 08:22:42PM +0000, Henrik Olsen wrote:
>
> > I can see several situations that has to be resolved/decided on before
> > starting implementation.
>
> One issue that I dont think has been addressed is what to do about programs
> that create/remove large numbers of temporary files. I guess we could
> always have some way of saying "Dont keep deleted files in my
> ~/.netscape/cache directory", but it would be really nice if we could figure
> out a good way to handle this w/o user intervention.

There is a bit in ext2fs that says "do safe deletion on this file".
Don't set that for files you really don't need to keep....

Check out the patch that I made quite some time ago. It's been
implemented. It's pretty easy. I just don't find it important enough
to bug Linus about including this in the standard kernel.

Instead of posting messages to linux-kernel, your time would be better
spent cleaning it up, and preparing a merger into the standard kernel.

The code is out there..... (Sorry, I don't keep local copies. The net is
my backup device for things like this... :-)

Roger.

-- 
| Most people would die sooner than think....  |    R.E.Wolff@BitWizard.nl 
| in fact, most do.  -- Bertrand Russsell      |     phone: +31-15-2137555 
We write Linux device drivers for any device you may have! fax: ..-2138217

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/