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.

mount2: fix for read dir plus on linux

chrislu222798d92663
diff --git a/weed/mount/weedfs_dir_read.go b/weed/mount/weedfs_dir_read.go
index ad8a161d79..b14bacc1f9 100644
--- a/weed/mount/weedfs_dir_read.go
+++ b/weed/mount/weedfs_dir_read.go
@@ -76,7 +76,7 @@ func (wfs *WFS) doReadDirectory(input *fuse.ReadIn, out *fuse.DirEntryList, isPl
var counter uint64
var dirEntry fuse.DirEntry
- if input.Offset == 0 {
+ if input.Offset == 0 && !isPlusMode {
counter++
dirEntry.Ino = input.NodeId
dirEntry.Name = "."