Skip to content

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.

mount: allow nonempty fuse mount to work with Samba

Chris Lu82e06a780bb1
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go
index 101f6a8524..33d0332cf0 100644
--- a/weed/command/mount_std.go
+++ b/weed/command/mount_std.go
@@ -74,6 +74,7 @@ func runMount(cmd *Command, args []string) bool {
fuse.MaxReadahead(1024 * 128),
fuse.AsyncRead(),
fuse.WritebackCache(),
+ fuse.AllowNonEmptyMount(),
}
if *mountOptions.allowOthers {
options = append(options, fuse.AllowOther())