Explained Hard Link and Soft Link | Tech Arkit



Hard Link

Soft Link

Hard linked file is assigned the same Inode value as the original.

Soft Linked file is assigned different inode values.

You can’t find difference between linked file and original file

You can find the different between original and linked file

We can’t create hard link for directories

We can create Soft link for directories

We can’t create hard links in different file systems (Example. Ext4 to XFS or Ext3 to Ext4).

We can create soft links between across the file systems

Deleting original file will not effect linked file

Deleting Original file will make soft linked file inaccessible




No comments:

Post a Comment