Saturday, December 19, 2009

File System - Inode

Inode
Each object in the file system is represented by an inode. Inode is also know as index number.

Information stored in inode are
File type (executable, block special etc)
Permissions (read, write etc)
Owner
Group
File Size
File access, change and modification time only not creation time
File deletion time
Number of links (soft/hard)
Extended attribute such as append only or no one can delete file including root user (immutability)
Access Control List (ACLs)

# ls -i /etc/passwd
or
# stat /etc/passwd

No comments:

Post a Comment