Skip to content

riffcc/lis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lis

Life is short, but data should live forever

A distributed filesystem implemented using FUSE and Rust.

Building

First make sure you have fuse3 dev installed:

sudo apt-get install fuse3 libfuse3-dev

Then build Lis:

cargo build
cp ./target/debug/lis ./lis

Usage

Obs: you can use cargo run -- /path/to/root ... instead of lis if you want to build and run every time (.e.g. when developing or testing changes).

Put a file in the node at /path/to/node/directory

lis /path/to/root put ./my_file.txt

List files in the node at /path/to/node/directory

lis /path/to/root list

Mount FUSE filesystem (readonly)

# will hang, leave it running
lis /path/to/root mount /path/to/mountpoint

# in another terminal
ls /path/to/mountpoint
cat /path/to/mountpoint/a-file.txt

Get contents of README.md file in the node at /path/to/node/directory

lis /path/to/root put README.md
lis /path/to/root get README.md

About

Life is short, but data should live forever

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages