Skip to content

A passthrough fuse filesystem that decompresses archived files on the fly

License

Notifications You must be signed in to change notification settings

narhen/decompress-fs

Repository files navigation

decompress-fs

Build Status

A passthrough fuse filesystem that decompresses archived files on the fly

Howto

First:

$ meson builddir
$ cd builddir
builddir/ $ # Make sure you have libfuse 3 installed. For me libfuse3.so is located in `/usr/local/lib/x86_64-linux-gnu`
builddir/ $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/x86_64-linux-gnu

Build

builddir/ $ ninja
[13/13] Linking target decompressfs
builddir/ $ ls -l decompressfs
-rwxr-xr-x 1 narhen narhen 58624 Sep 12 18:31 decompressfs*

Run

builddir/ $ ninja
[13/13] Linking target tests/decompress_fs_test
$ # Mount a source folder at mountpoint
builddir/ $ ./decompressfs ~/source_directory ~/mountpoint
$ # Unmount the way you usually would
$ sudo umount ~/mountpoint

Run tests

builddir/ $ ninja test
[0/1] Running all tests.
...

About

A passthrough fuse filesystem that decompresses archived files on the fly

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published