Cheatsheet: Difference between revisions
Content added Content deleted
Line 623: | Line 623: | ||
* There are some data about files, such as their size, ownership, permissions, timestamp etc. |
* There are some data about files, such as their size, ownership, permissions, timestamp etc. |
||
* This meta-data about a file is managed with a data structure known as an inode (index node). |
* This meta-data about a file is managed with a data structure known as an inode (index node). |
||
* There is no entry for file name in the Inode, file name is kept as a separate entry parallel to Inode number. |
|||
* This is for maintaining hard-links to files. |
|||
* Copy file: cp allocates a free inode number and placing a new entry in inode table. |
* Copy file: cp allocates a free inode number and placing a new entry in inode table. |