Re: ext4 features

From: Pavel Machek
Date: Fri Jul 07 2006 - 10:12:45 EST


On Wed 05-07-06 00:21:32, Bill Davidsen wrote:
> Benny Amorsen wrote:
> >>>>>>"DC" == Diego Calleja <diegocg@xxxxxxxxx> writes:
> >
> >DC> El Mon, 03 Jul 2006 15:46:55 -0600, "Jeff V. Merkey"
> >DC> <jmerkey@xxxxxxxxxxxxxxxxxxxxx> escribió:
> >
> >>>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
> >
> >
> >DC> Easily doable in userspace, why bother with kernel
> >programming
> >
> >In userspace you can't automatically delete the files
> >when the space
> >becomes needed. The LD_PRELOAD/glibc methods also have
> >the
> >disadvantage of having to figure out where a file goes
> >when it's
> >deleted, depending on which device it happens to reside
> >on. Demanding
> >read access to /proc/mounts just to do rm could cause
> >problems.
> >
> >Userspace has had 10 years to invent a good solution.
> >If it was so
> >easy, it would probably have been done.
> >
> Actually, if it were so important it WOULD have been
> done. I suspect that the issue is not lack of a good

It *was* done. mc supports undelete on ext2. Unfortunately ext3 broke
that :-(.
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/