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:

WordPress.com Logo

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

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s