From the course: Linux Troubleshooting at the Command Line

Unlock this course with a free trial

Join today to access over 25,600 courses taught by industry experts.

Explaining inodes

Explaining inodes

- In this session we cover inodes. Inode stands for index node. The inode is a data structure in a Unix-style file system that describes a file system object such as a file or a directory. Each inode stores the attributes and disk block locations of the object's data. File system object attributes may include metadata, times of last change, access, modification, as well as owner and permission data. As you see, there's a depiction of the file system with inodes and blocks. This is showing you an abstraction of the file system and as you see, each inode has a table with the permissions, owner info, size, links count, blocks, and other metadata, and it also shows you that the blocks' locations on the file system where the actual data is stored. The inode does not have the name of the file nor the data. The inode does contain the blocks that have the data. So the key thing to remember is that the inode's main function is to have attributes, aka metadata of the actual file itself, and…

Contents