diff --git a/Directories-and-Files.md b/Directories-and-Files.md index b6e1dd4..4852b51 100644 --- a/Directories-and-Files.md +++ b/Directories-and-Files.md @@ -102,6 +102,17 @@ Clients can assess one "weed filer" via HTTP, list files under a directory, crea Although one "weed filer" can only sits in one machine, you can start multiple "weed filer" on several machines, each "weed filer" instance running in its own collection, having its own namespace, but sharing the same SeaweedFS storage. +### Mount as FUSE + +This uses bazil.org/fuse, which enables writing FUSE file systems on Linux and OS X. On OS X, it requires OSXFUSE (http://osxfuse.github.com/). + +```bash +# assuming you already started weed master, weed volume and filer +weed mount -filer=localhost:8888 -dir=/some/existing/dir +``` + +Now you can browse/delete directories and files, and read file as in local file system. For efficiency, only no more than 100 sub directories and files under the same directory will be listed. To unmount, just shut it down. + ### Future Later, FUSE or HCFS plugins will be created, to really integrate SeaweedFS to existing systems.