Simple versioning file system as Linux kernel module.
Once this Kernel module is loaded, every file deletion operation will create a backup copy:
$ touch new
$ rm new
$ ls new*
new#1
This Kernel module patches sys_call_table by replacing open and unlink system calls with customized versions.
- Kernel >= 2.6.7
- Kernel sources placed in /usr/src/linux-<version>
- GCC
make && make install
modprobe verfs
rmmod verfs