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
mount: resolve symlink
chrislu7386cf6a06f4
diff --git a/weed/mount/weedfs.go b/weed/mount/weedfs.goindex 584174202a..697afcbcad 100644--- a/weed/mount/weedfs.go+++ b/weed/mount/weedfs.go@@ -139,6 +139,10 @@ func (wfs *WFS) maybeReadEntry(inode uint64) (path util.FullPath, fh *FileHandlereturn path, fh, entry, fuse.OK}entry, status = wfs.maybeLoadEntry(path)+ if status == fuse.OK && entry.FileMode()&os.ModeSymlink != 0 {+ target := filepath.Join(string(path), "../"+entry.Attributes.SymlinkTarget)+ entry, status = wfs.maybeLoadEntry(util.FullPath(target))+ }return}