Translate

Tuesday, 15 January 2013

Softlink & Hard Link


Difference between Softlink & Hard Link

 
Hardlink :-

1.        Hard link works with same inode number on source & destination files

2.        The size of shortcut file same as equal to original file

3.        Hard link can be only in same file system

4.        if shortcut file removed then data will be persistent or available

5.        Hardlink only create for files not directories

Softlink :-

1     Softlink  link works with different  inode number on source & destination files

2.       The size of shortcut file is total number of character in path

3.       Softlink link can be in different or network  file system

4.       if shortcut file removed then data will be lost

5.      softlink can be create on both files or directory

No comments:

Post a Comment