Hard link: Refers to multiple path names (different file names under different directories) point to the same hard disk data, with any of the files open the modification data, will be updated in other files open, because the hard link and the "original" file Inode is the same, each add or delete a link, link count plus 1 or minus 1, When the link count is 0 o'clock, deleting the obscured inode on the hard disk deletes the data. Because hard links contain information such as inode, they cannot be used across file systems. Soft link (symbolic link): Each soft link has its own inode and save the link file complete path name and data block, so can be linked across the system, and delete the soft link to the original file has no effect, but through the soft link open the original file for modification, the original file is modified content.
Linux notes-hard links and symbolic links