LWN.net Logo

Unerase

Unerase

Posted Apr 8, 2009 21:29 UTC (Wed) by Felix_the_Mac (guest, #32242)
Parent article: Linux Storage and Filesystem Workshop, day 2

"sometimes people want to be able to get back the contents of an erroneously-deleted file."

Isn't this desire/expectation just a relic of having been exposed to poorly implemented/insecure file systems in the past? ie. DOS!

Do we really want to design this in?


(Log in to post comments)

Unerase

Posted Apr 9, 2009 12:24 UTC (Thu) by prl (guest, #44893) [Link]

If it is needed, then it needs to be designed in. Properly, with well understood version control and security (arguably this should be done in user space). And if it *isn't* (whether filesystem wide or per-file), the OS should be able to scrunge a file from the media beyond any reasonable hope of recovery). What we *don't* want us the DOS/FAT style of "well you, might get it back if you're lucky and buy this add-on utility".

One of the problems with letting the device firmware handle this is just how effectively a deleted block has been deleted. If the OS has access to the raw hardware, then the user actually gets to control the precise level of undeleteability, which strikes me as being what we want.

Unerase

Posted Apr 10, 2009 0:50 UTC (Fri) by aigarius (subscriber, #7329) [Link]

Users delete important file to which they have no backups. Happens all the time. A very simple way to undelete stuff is a very welcome feature in any operating system. It could be an option in a filesystem, enabled by a parameter.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds