Messages in this thread | | | Date | Tue, 4 Jul 2006 15:25:45 +0000 | From | Pavel Machek <> | Subject | Re: ext4 features |
| |
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. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |