# Test Case: getattr Basic Metadata **Test ID**: TC055-getattr-basic **Category**: Vnode Operations **Priority**: Critical ## Objective Verify VOP_GETATTR returns fixture-exact type, mode, ownership, link count, size, allocation, block size, inode, and generation for plain and compressed regular files. ## Procedure On separate fresh mounts of vfs/vfs-plain.erofs and vfs/vfs-lz4.erofs: ./g3_vfs_probe stat /tmp/repo22-g3/mnt/pager.bin stat -f 'ino=%i mode=%p uid=%u gid=%g nlink=%l size=%z blocks=%b blksize=%k gen=%v type=%HT' \ /tmp/repo22-g3/mnt/pager.bin sha256 /tmp/repo22-g3/mnt/pager.bin For the plain mount also compare the mounted hash with fixtures/vfs/source/pager.bin and fixture evidence. ## Expected Results Both files are regular mode 0644, uid/gid 0, size 21211, block size 4096, with nonzero stable NID/generation. Both logical hashes equal the source hash; st_blocks records each inode's reported allocated sectors. Record both image hashes and per-mount cleanup.