mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Add information about use fuse with mount command
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
|
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.
|
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".
|
To unmount, just shut it down the "weed mount".
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue