Re: ext4 features

Pavel Machek
2006-07-04T15:25:58Z

Hi!

> > > > Add a salvagable file system to ext4, i.e. when a file is deleted, you
> > > > just rename it and move it to a directory called DELETED.SAV and recycle
> > > > the files as people allocate new ones. Easy to do (internal "mv" of
> > >
> > >
> > > Easily doable in userspace, why bother with kernel programming
> >
> > Yes and no. A simple mv is better done in userspace, but what I'd
> > _really_ appreciate would be a true kernel salvage (similar to the way
> > NetWare does things). That means marking the file as deleted in the

I have code doing ld_preload tricks to force safe deletion... somewhere.

> Wouldn't such a scheme interfere with the block allocator algorithms,
> and hence increase the risk of fragmentation? Schemes like this realy
> put my hairs on end,
>
> 1) if you don't want to lose your data, make backups;
> 2) if I mean to delete a file, I want it gone proper. Silently keeping
> it about is not unix like;

Well, mc supports undelete on ext2 for a *long* time. And it works
okay...

And yes, doing echo > important_file instead of echo >> important file
is way too easy with unix shells.

Pavel
--
Thanks for all the (sleeping) penguins.