CopyFS is a copy-on-write, versioned filesystem.
Version: 1.0CopyFS aims to solve a common problem : given a directory, especially one full of configuration files, or other files that one can modify, and which can affect the functionning of a system, or of programs, that may be important to other users (or to the user himself), how to be sure that a person modifying the files will do a backup of the working version first ?
Operating System: Linux
This filesystem solves the problem by making the whole process transparent, automatically keeping versionned copies of all the changes done to file under its control.
It also allows a user to select an old version of the files, for example to repair a mistake, and allows him/her to continue edition from this point.
· You need a Linux-based system, with at least version 2.0 of the Fuse libraries and kernel module. You can download Fuse at http://fuse.sourceforge.net. You also need the support for filesystem extended attributes compiled in your kernel.
Simply do :
copyfs-1.0 % ./configure
copyfs-1.0 % make all
copyfs-1.0 % su
copyfs-1.0 # make install
To mount a CopyFS, you need to use the command 'fmount' : if you want to mount a CopyFS at '/mnt/fs', whose version directory is at /var/versions, you would use :
root # fmount /var/versions /mnt/fs
To unmount it, simply do :
root # umount /mnt/fs
As you would do for a normal filesystem.