How do hard links work?
Answer
Hard link is the
exact replica of the actual file it is pointing to
. Both the hard link and the linked file shares the same inode . If the source file is deleted ,the hard link still works and you will be able to access the file until the number of hard links to file isn’t 0(zero).
Answer
Hard link is the
exact replica of the actual file it is pointing to
. Both the hard link and the linked file shares the same inode . If the source file is deleted ,the hard link still works and you will be able to access the file until the number of hard links to file isn’t 0(zero).