Jan 6th, 2010
Inode
An inode is a data structure on a file-system on Linux and other Unix-like operating systems that stores all the information about a file except its name and its actual data.
Inode is a structure contains the information necessary for a process to access a file. Exist in a static form on disk and the kernel reads them into an in-core inode consists of:
- file owner identifier.
- file type.
- file access permissions.
- file access times.
- number of links to the file.
- table of contents for the disk address of data in a file.
- file size.
Inode Contains all the details about a file like owner, permission, type etc. But it doesn’t Contain the “Filename” for the particular file.
A data structure is a way of storing data so that it can be used efficiently. Different types of data structures are suited to different types of applications, and some are highly specialized for specific types of tasks.