> It's an obvious optimization to keep type already in the directory > itself. But is there any other reason why it was added there? It > obviously means you have the same information in two places, with all
struct dirent is not stored on the disk, but created during eg readdir() system call via VOP_READDIR(), etc. .mrg.