File Descriptor and Inode

  • Inode: The inode is a data structure in a Unix-style file system which describes a filesystem object such as a file or a directory. Each inode stores the attributes and disk block location(s) of the object’s data.


  • POSIX Standard requires the file descriptor/Inode to provide the folowing
    • File type
    • Number of hard links associated with file
    • Length in bytes
    • Device ID
    • Inode number that identifies file in system
    • UID
    • Group ID
    • Timestamps (last access/modified)
    • Access rights

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s