Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (17 sloc) 735 Bytes

How to run GDB

GDB is a general-purpose debugger

gdb --args ./svfs -f example/rootdir/ example/mountdir

How to run valgrind

valgrind is a tool to debug memory problems (corruption, leaks, etc.)

valgrind ./svfs -f example/rootdir/ example/mountdir


A few interesting commands:

cd example
touch mountdir/{a,b,c,a,a,b,a,c,a,b,d,a,a,b,d,d,d,c,a}

(Note: for some reason, vim writes twice. Which means we'll have twice as many backup files :/ Except if we only write on, say, different sha1)

When it crashes

fusermount -u mountdir

When gdb breaks, you're stuck, don't try to ls, to cd, nothing, just step through gdb and quit/restart because FUSE will freeze the fuck out of your system.

Jump to Line
Something went wrong with that request. Please try again.