File control blocks and the inode cache
Originally written by
- Each file has a control block, with information such as file size,
last modification time, last access time, access permissions...
- Since traveling a path requires checking permissions and file-types,
the file control blocks are cached in the inode cache.
- inode is the name of the object, on disk, that contains the file
- Each dentry points to a matching entry in the inode-cache, allowing the
path traversal code to quickly check for access permissions.