doc/evfuse_db.txt
author Tero Marttila <terom@fixme.fi>
Tue, 21 Oct 2008 21:54:20 +0300
changeset 37 c3880f3b4de8
parent 24 82cfdb6680d1
child 38 1fd4da071575
permissions -rw-r--r--
update fuse_db.sql, just use dbfs_unlink for rmdir (no special handling)

Just a simple pure-data filesystem stored in a SQL database. Implementation using PostgreSQL.
No weird dynamic magic.


file_tree:
    offset              serial4                 ephemeral counter used to tell one file entry from another
    name                varchar(256)            the filename
    parent              int4 -> inodes.ino      file entry's parent
    inode               int4 -> inodes.ino      the file's data

inodes:
    ino                 serial4                 inode number
    type                char(3)
            REG                         normal file
            DIR                         directory
    mode                int2                    file access modes 
    size                int8                    file content size (?)