What’s an inode?

Print anything with Printful



In UNIX-style systems, inodes store information about files, including ownership, permissions, and file type. They are identified by numbers and typically use 1% of storage capacity. Inodes are part of the basic file system and limit the number of files a system can keep. The operating system maintains a database of inodes, which can be accessed by users using the ls -i command.

An inode is where a UNIX-style computer system stores information about the files in the system. Every file in the system is tied to one of these nodes, which tracks information such as ownership, permissions, and file type. Inodes are identified by numbers. Typically, about 1% of a file system’s storage capacity is used for this type of storage.

UNIX-style computer systems are those that are descended from the UNIX operating system. They are often used in servers, workstations and mobile devices. UNIX was developed in 1969 by AT&T employees working at Bell Labs. Examples of UNIX-based systems include Linux and Berkeley Software Distribution, sometimes known as Berkeley UNIX.

The inode is part of the basic file system of these types of operating systems. A file system organizes computer files and data related to them in a database so that the operating system can store, organize, and use them. Use inodes to store essential information about the file.

The file name is not listed as a single file can sometimes be accessed using multiple file names. Instead, the inode stores information about which user or group owns the file and which users and groups have permission to read, modify, or use the file. It also stores information about the file type.

On most systems only about 1% of file system storage space is used for inodes. This limits the number of files a system can keep. When a new file is created, new inodes are also created. If the user tries to create too many files, the storage limit may be reached, preventing the creation of new files.

As each inode is created, it is assigned a number. This number remains the same when the disk on which the file is located is defragmented, even if this defragmentation causes the file to move. If the file is moved manually, the number will also remain the same.
The operating system maintains a database of inodes. This database is used by the computer to track and access the information in each inode. Files can also be opened by accessing the inode through the database.
A computer user can find the inode of a single file. He or she can do this using the ls -i command. This command will cause the inode to display some of the information stored for that file.




Protect your devices with Threat Protection by NordVPN


Skip to content