Soft Link Vs Hard Link in Solaris & AIX Unix OS – Difference and Features

advertisements

_____________________________________________________________________________________________________________________

The Eucharistic Miracles of the World
Hard Links
  • Hard links have actual content
  • Hard link is the replica of the original file
  • All hard links have the same inode number
  • ls –l command output gives all links with link columns
  • If you remove any hard link, it will reduces the link count and this will not affect the other links.
Soft Links (Symbolic Links)
  • Soft link is a pointer to the original file. It doent contains the original content.
  • Soft links are just short cuts to the actual files.
  • Soft links having the different inode number.
  • ls –l command output gives all links with second column value 1 and the links point to the original file.
  • If you remove the soft link it doesn’t affect anything but the removal of original file makes the link becomes ‘dangling’ link which points to nonexistent file.

_____________________________________________________________________________________________________________________

Website Stats

0 comments:

Post a Comment

Labels

Oracle (629) Script (86) General (77) Unix (47) Blog (23) Technology (19) gadget (6) games (6) Business (3) OCI (3) SQL* Loader (3) Datapump (2)
 

acehints.com Copyright 2011-23 All Rights Reserved | Site Map | Contact | Disclaimer