|
|
What's an inode? |
| An inode is a data structure that contains information about a file. An inode is similar to a card in the card-catalog of a library. But instead of keeping track of the Title, Author and Dewey Decimal System number, inodes keep track of:
* mode - d,l,c,b (Directory, Link, Device Files)
* link count - the number of hard links to the file
* owner -
* group -
* size in bytes -
* time stamps - mtime, ctime, atime
* data block addresses - Pointers to the real data
You can see how an inodes points to a file in a filesystem, just as a Table of Contents entry points to a chapter in a book, or a cardfile from a card-catalog points to the area of the Library by Dewey number.
* Each filesystem has one set of inodes like there is one
card-catalog in each libaray.
| |
| [Append to This Answer] |
| Previous: |
|
| Next: |
|
| ||||||||