24
|
1 |
|
|
2 |
Just a simple pure-data filesystem stored in a SQL database. Implementation using PostgreSQL.
|
|
3 |
No weird dynamic magic.
|
|
4 |
|
|
5 |
|
|
6 |
file_tree:
|
|
7 |
offset serial4 ephemeral counter used to tell one file entry from another
|
|
8 |
name varchar(256) the filename
|
|
9 |
parent int4 -> inodes.ino file entry's parent
|
|
10 |
inode int4 -> inodes.ino the file's data
|
|
11 |
|
|
12 |
inodes:
|
|
13 |
ino serial4 inode number
|
|
14 |
type char(3)
|
|
15 |
REG normal file
|
|
16 |
DIR directory
|
|
17 |
mode int2 file access modes
|
|
18 |
size int8 file content size (?)
|
|
19 |
|