What is an inode? What does it store and what does it NOT store?
BeginnerConceptFilesystem Hierarchy, Inodes & Links
Answer
An inode is the on-disk data structure for a file. It stores: type, permissions, owner UID/GID, size, timestamps, link count, and pointers to data blocks. It does not store the filename; names live in directory entries that map name → inode number.
ls -i file.txt
stat file.txt