Tag
readdir
- Oct 8, 2026 Reading a Directory as a Stream: readdir and Its Weak Guarantees Directory listing is a cursor over mutable records, not a snapshot; what the offset cookie means, which entries can be missed or repeated, and why sorting requires reading everything first. filesystems
- Mar 14, 2023 Directory Hash Trees: Indexing Names Without Breaking Enumeration How a hashed b-tree stores directory entries in blocks while preserving the linear order readdir requires, and how a fake dirent hides the interior nodes from a reader that does not know about them. filesystems