Im currently reading the book
- "How Linux Works" by Brian Ward
and on chapter 4.5 it is said
A directory inode contains a list of filenames and corresponding links to other inodes.
This implies that a directory's inode is structurally different than a normal file inode.
I have found this question and the top (and only) answer there implies this is isn't corrent (it agrees with Brian Ward but the answer is highly downvoted), so I want to know what is correct.
If the answer I'm looking for is filesystem specific, I would be interested to know the answer for ext2/3/4.