Originally Posted by drManhattan
I understand the differences but what I don't understand is when each link is used ?
In which circumstances sys admins use symbolic links and in which hard links ?
thx for help.
Hardlinks are faster(1 cpu cycle faster
Hardlinks are,.. sort of inheriting. As in:
If you have a file and you hardlink to it, then delete the file, the hardlink will now be the file.
Symlinks are the opposite of that. If you delete the original file that the symlink points to, you have a meaningless symlink.
As far as when to use hardlinks? If you are using links accross disks/filesystems, then you have to use a Symlink. There are certain situations where you can use hardlinks as a backup: like this http://slaptijack.com/system-adminis...th-hard-links/
Hope this helps.