diff --git a/src/restic/fuse/file.go b/src/restic/fuse/file.go index 6bfa2e4a1..b57e0d663 100644 --- a/src/restic/fuse/file.go +++ b/src/restic/fuse/file.go @@ -74,6 +74,7 @@ func (f *file) Attr(ctx context.Context, a *fuse.Attr) error { a.Size = f.node.Size a.Blocks = (f.node.Size / blockSize) + 1 a.BlockSize = blockSize + a.Nlink = uint32(f.node.Links) if !f.ownerIsRoot { a.Uid = f.node.UID