ABHIONLINUX
Site useful for linux administration and web hosting

2010/03/18

Inode

Inode is a unique number given to a file in Unix OS. Every file in Unix has a inode number. Inodes store information of files, such as user and group ownership, access mode (read, write, execute permissions) and type of file. When a file system is created, data structures are created that contain information about files. Each file is associated with an inode that is identified by an inode number

File names and directory implications:

    * Inodes do not contain file names, only file metadata.
    * Unix directories are lists of "link" structures, each of which contains one filename and one inode number.
    * The kernel must search a directory looking for a particular filename and then convert the filename to the correct corresponding inode number if the name is found.


:

No comments:

Post a Comment