This project comes from https://github.com/axenhook/object-file-system
-
run "make -f make_ofs_tools" to generate the demo program
-
run "make -f make_ofs_server" to generate the demo program with libevent, you must install libevent first
-
run vs2008 IDE, open win_proj/ofs_tools.sln to generate the demo program
-
run vs2008 IDE, open unit_test/ofs_test.sln to generate the unit test program
-
run ofs_server
-
run "telnet IP_ADDRESS 9999" command to connect to the ofs server, if it is on the local machine, the IP_ADDRESS may be "127.0.0.1" (to quit the telnet, please press "ctrl+]" keys, and then input "quit")
-
input the demo program command like the following section
description | command example |
---|---|
create container named ct0 | create -ct ct0 |
create object with objid 300 | create -ct ct0 -o 300 |
insert kv in object 300 | insert -ct ct0 -o 300 -k axen -v abcdjkjkj |
dump all kv in object 300 | dump -ct ct0 -o 300 |
remove kv in object 300 | remove -ct ct0 -o 300 -k axen |
- support multi fs
- support multi object(table) in a single fs
- support multi type object(table) in a single fs
- support variant length key or value
- support NULL value or zero length value
- using btree manager the space instead of bitmap
- support both b tree and b+ tree
- support snapshot management
- support the data on disk is consistent at any time
- support object read/write
- support big value
- support file system operation