Freemount Quick Start


To get started with Freemount:

git clone https://github.com/jjuran/metamage_1.git
cd metamage_1
make freemountd-tcp-test

After freemountd builds, you’ll see

var/out/listen 127.0.0.1:4564 var/out/freemountd --root var/freemount
Daemon starting up... done.

The freemountd server is listening on TCP port 4564 and serving the contents of var/freemount (created by the make target). In another shell, run

make f{ls,cat}-test

to get a directory listing and read a file:

PATH="$PWD/var/out:$PATH" var/out/fls mnt://127.0.0.1
-rw-r--r--    1         12  hello.txt
PATH="$PWD/var/out:$PATH" var/out/fcat mnt://127.0.0.1/hello.txt
Hello world