https://github.com/spektom/verfs
Linux kernel module that enables file system versioning
https://github.com/spektom/verfs
c homework-assignments linux-kernel
Last synced: 12 months ago
JSON representation
Linux kernel module that enables file system versioning
- Host: GitHub
- URL: https://github.com/spektom/verfs
- Owner: spektom
- Created: 2011-09-06T10:06:42.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2014-01-02T14:30:57.000Z (over 12 years ago)
- Last Synced: 2025-06-02T02:49:33.077Z (about 1 year ago)
- Topics: c, homework-assignments, linux-kernel
- Language: C
- Homepage:
- Size: 125 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
VerFS
=====
Simple versioning file system as Linux kernel module.
### Usage example ###
Once this Kernel module is loaded, every file deletion operation will create a backup copy:
```
$ touch new
$ rm new
$ ls new*
new#1
```
### How this stuff works ###
This Kernel module patches *sys_call_table* by replacing _open_ and _unlink_ system calls with customized versions.
### Requirements ###
1. Kernel >= 2.6.7
2. Kernel sources placed in /usr/src/linux-<version>
3. GCC
### Installation ###
```bash
make && make install
```
### Loading module ###
```bash
modprobe verfs
```
### Unloading module ###
```bash
rmmod verfs
```