Linux File System - inode (index node)


inode (or index node) is a data structure that describes the linux file-system of one object such as a file or a directory.

Each node stores:

The i-number is a integer that represents the index (ie the location) of the node element in the table storing all nodes (the table is stored as an array)

Fix Resource

The number of inodes is a resource as it's fixed at file system creation, limiting the maximum number of files the file system can hold.

The common case is one inode for every 2K bytes.


ls prints the i-node number in the first column of the report with the i option.

ls -i

Documentation / Reference

Powered by ComboStrap