Skip to content

simple, _somewhat_ usable, passthrough filesystem.

Notifications You must be signed in to change notification settings

volgorean/passFS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PassFS

PassFS demonstrates a simple, somewhat usable, passthrough filesystem.

Prerequisites

Demo

# mkdir source
# mkdir proxy
# go build -o proxyfs
# ./proxyfs source proxy &
# cd proxy
# mkdir somefolder
# mkdir anotherfolder
# mv anotherfolder renamedfolder
# echo "Hello, World!" >> test.txt
# cat test.txt
Hello, World!
# nano abc.txt
# cat abc.txt
Hello again.
# echo "and again..." >> abc.txt
# cat abc.txt
Hello again.
and again...
# rm abc.txt
# ls -la
total 0
drwxrwxrwx 1 root root  0 Jul  1 09:11 renamedfolder
drwxrwxrwx 1 root root  0 Jul  1 09:11 somefolder
-rwxr-xr-x 1 root root 14 Jul  1 09:08 test.txt
# cd ..
# ls -la source
total 9
drwxrwxrwx 1 root root 4096 Jul  1 09:15 .
drwxrwxrwx 1 root root 4096 Jul  1 09:10 ..
drwxrwxrwx 1 root root    0 Jul  1 09:11 renamedfolder
drwxrwxrwx 1 root root    0 Jul  1 09:11 somefolder
-rwxr-xr-x 1 root root   14 Jul  1 09:08 test.txt
# umount ./proxyfs

About

simple, _somewhat_ usable, passthrough filesystem.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages