Cheatsheet: Difference between revisions

Content added Content deleted
Line 633: Line 633:
* A Directory cannot hold two files with same name because it cannot map one name with two different inode numbers.
* A Directory cannot hold two files with same name because it cannot map one name with two different inode numbers.
* The inode number of / directory is fixed, and is always 2.
* The inode number of / directory is fixed, and is always 2.

* There exists an algorithm which is used to create number of Inodes in a file system.
* This algorithm takes into consideration the size of the file system and average file size.
* The user can tweak the number of Inodes while creating the file system.


*Inode number (or index number) consists following attributes:
*Inode number (or index number) consists following attributes: