Mysqlfs low level FUSE fs

From BononWiki

Jump to: navigation, search

Status

. 20110906

Only the following calls are supported yet:
.lookup
.forget
.getattr
.setattr
.readlink
.mknod
.mkdir
.unlink
.rmdir
.symlink
.opendir
.readdir
.releasedir
.statfs
.setxattr
.getxattr
.listxattr


Todo are:
.rename
.link
.open
.read
.write
.release
.fsync
.getlk
.setlk

I will start with open/read/write/release coming days.


Source at gitorious

A git repository at gitorious:

git clone git://gitorious.org/fusemodules/mysqlfs-ll.git mysqlfs-ll
cd mysqlfs-ll


Old version

There is already a high level version:

mysqlfs at Sourceforge


It stores the inodes in a table, entries in a table and file data.

What I want to create is a filesystem in MySql, which stores previous versions. So every file can have a history of previous version.

I do not know yet what the basis will be for the history, the path or the inode. Maybe both.

The fs does not have to be fast, it's only used to backup.

Futher would be very nice a gui to get an good and nice overview of data (using colors). For example when rightclicking on a file give you a command to view the previous versions of a file (again based upon path or inode).

I know that versioning is not that special anymore, btrfs (and others) can make a snapshot just like that. But still I like the idea to store files directly in a (remote) MySQL database, and be able to watch and get previous versions using a nice interface. That would be not so hard using the mysql libraries.

Personal tools