Re: ext4 features

From: Jeffrey V. Merkey
Date: Tue Jul 04 2006 - 12:28:03 EST


Jan Engelhardt wrote:

There are some big problems with "deleted" however and doing it in
kernel space. A lot of programs just overwrite data. You would have to
look for things like O_TRUNC on a file open and ftruncate.



At least I only want deleted files to be saved, not truncated. The way the MSWIN (the gui parts) do it is enough for most users.


Jan Engelhardt


Well,

The old novell model is simple. When someone unlinks a file, don't delete it, just mv it to another special directory called DELETED.SAV. Then setup the
fs space allocation to reuse these files when the drive fills up by oldest files first. It's very simple. Then you have a salvagable file system.

Jeff
-
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/