diff --git a/samples/hello_fs.go b/samples/hello_fs.go index f3d7de6..0856351 100644 --- a/samples/hello_fs.go +++ b/samples/hello_fs.go @@ -73,6 +73,7 @@ var gInodeInfo = map[fuse.InodeID]inodeInfo{ helloInode: inodeInfo{ attributes: fuse.InodeAttributes{ Mode: 0400, + Size: uint64(len("Hello, world!")), }, }, @@ -91,6 +92,14 @@ var gInodeInfo = map[fuse.InodeID]inodeInfo{ }, }, }, + + // world + worldInode: inodeInfo{ + attributes: fuse.InodeAttributes{ + Mode: 0400, + Size: uint64(len("Hello, world!")), + }, + }, } func findChildInode(