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
set root node inode number
Chris Lu372872ebbfa3
diff --git a/weed/filesys/dir.go b/weed/filesys/dir.goindex f6f1c2562e..77e6724e15 100644--- a/weed/filesys/dir.go+++ b/weed/filesys/dir.go@@ -92,6 +92,7 @@ func (dir *Dir) Getxattr(ctx context.Context, req *fuse.GetxattrRequest, resp *ffunc (dir *Dir) setRootDirAttributes(attr *fuse.Attr) {// attr.Inode = 1 // filer2.FullPath(dir.Path).AsInode()attr.Valid = time.Second+ attr.Inode = dir.Id()attr.Uid = dir.wfs.option.MountUidattr.Gid = dir.wfs.option.MountGidattr.Mode = dir.wfs.option.MountMode