Soft links vs. Hardlinks

layer8problemslayer8problems CCT R&S | CCNA R&S | CCDA | CCNA Sec (in-progress) | CompTIA A/NET/SEC/PROJECT/LINUX/SERVER+ | MCP |Member Posts: 18 ■■■□□□□□□□
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?


Sign In or Register to comment.