doc/evfuse_db.txt
author Tero Marttila <terom@fixme.fi>
Sun, 12 Oct 2008 21:59:52 +0300
changeset 26 61668c57f4bb
parent 24 82cfdb6680d1
child 38 1fd4da071575
permissions -rw-r--r--
preliminary *dir implementation

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 (?)