Skip to content

elfkuzco/jsonfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsonfs

jsonfs is a FUSE filesystem that mounts a JSON file as a virtual directory structure. Nested objects and arrays become directories while primitive values (strings, numbers, double and booleans) become readable files.

The filesystem supports only read operations.

Compiling

  • In order to compile the program, you need to install:

    • libfuse2 (install with your package manager)
    • libjansson
    • A POSIX-compliant system (Linux/macOS)
  • Clone the repository

    git clone [email protected]:elfkuzco/jsonfs.git
  • Go inside the directory

    cd jsonfs
  • Compile the program

    make

Usage

./jsonfs [-o nonmepty] <path-to-json-file> <mountpoint>

Unmount

fusermount -u <mountpoint>

About

A FUSE filesystem that mounts a JSON file as a virtual directory structure.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published