vfs level undelete support?

Shaya Potter (spotter@cs.columbia.edu)
07 Apr 2003 23:23:12 -0400


Would there be any interest in a patch that added undelete support to
the VFS. the idea would be that when one unlink's a file, instead of it
being deleted, it is "moved" to "/.undelete/d_put path of dentry",
coupled with a daemon that manages the size (maintains a quota per uid
by deleting old files).

It would appear to be an easy CONFIG level option, as it would just be
do this, or normal unlink(), and would work for every fs, as well as not
needing and LD_PRELOAD.

It seems pretty simple to hack up, just wondering if there's any
interest?

thanks,

shaya

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