SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
weed mount: mount to the same folder name
Chris Luc0d6cc0067b3
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.goindex c047b94c35..101f6a8524 100644--- a/weed/command/mount_std.go+++ b/weed/command/mount_std.go@@ -9,6 +9,7 @@ import ("github.com/spf13/viper""os""os/user"+ "path""runtime""strconv""strings"@@ -43,6 +44,8 @@ func runMount(cmd *Command, args []string) bool {mountMode = os.ModeDir | fileInfo.Mode()}+ mountName := path.Base(*mountOptions.dir)+// detect current useruid, gid := uint32(0), uint32(0)if u, err := user.Current(); err == nil {@@ -57,7 +60,7 @@ func runMount(cmd *Command, args []string) bool {util.SetupProfiling(*mountCpuProfile, *mountMemProfile)options := []fuse.MountOption{- fuse.VolumeName("SeaweedFS"),+ fuse.VolumeName(mountName),fuse.FSName("SeaweedFS"),fuse.Subtype("SeaweedFS"),fuse.NoAppleDouble(),