aboutsummaryrefslogtreecommitdiff
path: root/weed/mount/weedfs.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-02-11 21:35:09 -0800
committerchrislu <chris.lu@gmail.com>2022-02-11 21:35:09 -0800
commit180445f5a889c25c15074e105405b2e96c1eadb2 (patch)
tree8eb8d1db11db61f307d709e52fcddc23d1147c9b /weed/mount/weedfs.go
parent45a0fda9bda7457db31f6134424d251ffac530f8 (diff)
downloadseaweedfs-180445f5a889c25c15074e105405b2e96c1eadb2.tar.xz
seaweedfs-180445f5a889c25c15074e105405b2e96c1eadb2.zip
change to use fuse file system
Diffstat (limited to 'weed/mount/weedfs.go')
-rw-r--r--weed/mount/weedfs.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/weed/mount/weedfs.go b/weed/mount/weedfs.go
index 5f35d8112..8aa9c95a7 100644
--- a/weed/mount/weedfs.go
+++ b/weed/mount/weedfs.go
@@ -87,6 +87,10 @@ func (wfs *WFS) Root() *Directory {
return &wfs.root
}
+func (wfs *WFS) String() string {
+ return "seaweedfs"
+}
+
func (option *Option) setupUniqueCacheDirectory() {
cacheUniqueId := util.Md5String([]byte(option.MountDirectory + string(option.FilerAddresses[0]) + option.FilerMountRootPath + util.Version()))[0:8]
option.uniqueCacheDir = path.Join(option.CacheDir, cacheUniqueId)