Open In App

Inode in Operating System

In Unix based operating system each file is indexed by an Inode. Inode are special disk blocks they are created when the file system is created. The number of Inode limits the total number of files/directories that can be stored in the file system. 

An Inode is a data structure in UNIX operating system that contains important information pertaining to files within a file system. When a file system is created in UNIX, a set amount of indoes is created as well. Usually, about 1 percent of the file system disk space is allocated to the inode table.



The Inode contains the following information: 

14 Bytes            

2 Bytes

File name 1

i-node 1

File name 2

i-node 2

Directory name 1

i-node 3

  1. Numeric UID of the owner.
  2. Numeric GUID of the owner.
  3. Size of the file.
  4. File type: regular,directory,device etc…
  5. Date and Time of Last modification of the file data.
  6. Date and Time of Last access of file data.
  7. Date and Time of Last change of the I-node.

Inode Total Size: 
 



Inode Structure :

Article Tags :