# Test Case: Root Vnode Lookup **Test ID**: TC011-root-vnode ## Objective Verify the mounted root vnode has the encoded root NID, directory attributes, and the same top-level names as the fixture source. ## Fixture Use `images/compact.erofs` and `source/compact`. The structured evidence records the root NID and compact inode size. Follow `tests/G1-MANUAL-SETUP.md`. ## Procedure After mounting on `$mnt`: ```sh stat -f 'ino=%i type=%HT mode=%Lp nlink=%l' "$mnt" stat -f '%i' "$mnt" > /tmp/tc011-root-nid ls -la "$mnt" (cd /tmp/repo22-g1/source/compact && ls -1A | sort) > /tmp/tc011-source-names (cd "$mnt" && ls -1A | sort) > /tmp/tc011-mount-names diff -u /tmp/tc011-source-names /tmp/tc011-mount-names cat "$mnt/root.txt" ``` Compare `/tmp/tc011-root-nid` with `root_nid` from `fixture-evidence.txt`, then unmount, detach, and remove the two temporary name lists. ## Expected Results - Root inode equals the encoded NID and reports a traversable directory. - The complete top-level name lists match and `root.txt` is readable. - All operations and cleanup return zero.