https://github.com/mischief/webfs
webfs(4) in go
https://github.com/mischief/webfs
Last synced: about 1 year ago
JSON representation
webfs(4) in go
- Host: GitHub
- URL: https://github.com/mischief/webfs
- Owner: mischief
- Created: 2013-08-22T22:37:49.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2014-04-20T08:24:37.000Z (about 12 years ago)
- Last Synced: 2025-02-08T15:47:06.507Z (over 1 year ago)
- Language: Go
- Size: 120 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
webfs
=====
a go reimplementation of [webfs](http://man.cat-v.org/9front/4/webfs)
linux
-----
requirements: [plan9port](http://swtch.com/plan9port/)
alternatively, one may use the linux kernel 9p driver
# fetch
go get github.com/mischief/webfs
# run
webfs &
# mount
9 srv -n 'tcp!127.0.0.1!5640' webfs
mkdir $HOME/webfs
9pfuse `namespace`/webfs $HOME/webfs
# usage
url=https://www.kernel.org/doc/Documentation/filesystems/9p.txt
cd $HOME/webfs
d=$(cat clone)
echo url $url >> $d/ctl
less $d/body
plan 9
------
# fetch
hget https://github.com/mischief/webfs/archive/master.zip > webfs.zip
unzip < webfs.zip
cd webfs-master
go build
# run
./webfs-master &
# mount
srv 'tcp!$ip!5640' web /mnt/web
# usage
url=https://www.kernel.org/doc/Documentation/filesystems/9p.txt
cd /mnt/web
d=`{cat clone}
echo url $url >> $d/ctl
cat $d/body