From ae687dc6a222b9175e8c850f45c3251905cadade Mon Sep 17 00:00:00 2001 From: Daniel Fonseca de Lira Date: Wed, 26 May 2021 22:00:45 -0300 Subject: [PATCH] Add information about use fuse with mount command --- FUSE-Mount.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/FUSE-Mount.md b/FUSE-Mount.md index f8a2e57..eac4aa6 100644 --- a/FUSE-Mount.md +++ b/FUSE-Mount.md @@ -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".