Add information about use fuse with mount command

Daniel Fonseca de Lira 2021-05-26 22:00:45 -03:00
parent ed41f4f5cf
commit ae687dc6a2

@ -24,6 +24,20 @@ weed mount -filer=localhost:8888 -dir=/some/existing/dir -filer.path=/
weed mount -filer=localhost:8888 -dir=~/folder_on_seaweedfs -filer.path=/home/chris -collection=chris
```
It is also possible use mount and fuse subtype:
```bash
cp weed /sbin/weed
mount -t fuse.weed fuse /mnt -o "filer=localhost:8888,filer.path=/"
```
Or add weed as a mount subtype:
```bash
cp weed /sbin/mount.weed
mount -t weed fuse /mnt -o "filer=localhost:8888,filer.path=/"
```
Now you can operate the SeaweedFS files, browsing or modifying directories and files, in local file system.
To unmount, just shut it down the "weed mount".