Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 844 Bytes

README.md

File metadata and controls

38 lines (30 loc) · 844 Bytes

S.A.D. File System

Use CMake to check dependencies, setup environment and generate Makefiles.

cmake -DCMAKE_BUILD_TYPE=Debug .

Use CMake generated Makefiles is now able to build the project.

make -j

Before doing anything we need a mountpoint, so let's create the directory where the filesystem will be mounted:

mkdir /tmp/example

and then, mount the filesystem:

./bin/new-fuse -d -s -f /tmp/example

As you may notice, we mounted the filesystem with three arguments which are:

  • d: enable debugging
  • s: run single threaded
  • f: stay in foreground

Now check that it has been mounted:

ls -al /tmp/example/
mount | grep fuse-example

If necessary, you can unmount the file system as follows:

fusermount -u /tmp/example