Home
Certification Preparation
CompTIA
Linux+
Soft links vs. Hardlinks
layer8problems
So far I understand that a hard link is simply a second directory index entry pointing to the same data (inode). As if on the page of contents of a book it might say:
Chapter 1 - Page 12
Chapter 7 - Page 12
So deleting the "Chapter 7" entry wouldn't affect the data because it still has the original hard link pointing to the data. Am I understanding this correctly?
Where as a symlink would be a seperate file with its own inode pointing to the target file's path?
Find more posts tagged with
Comments
hiddenknight821
Keep reading on the subject or research it elsewhere to reinforce your understanding. You'd need to understand the inode link count as I believe that's where you got lost.
My Google-fu lead me to this:
Hard links and Unix file system nodes (inodes)
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of