Updated Directories and Files (markdown)

sparklxb 2017-03-18 20:41:49 +08:00
parent a3611c319b
commit 093da1bf70

@ -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.