Practice mode Operating Systems

How does a hard link differ from a symbolic link in Linux?

Correct answer C. A hard link is another directory entry for the same inode, while a symbolic link is a separate file containing a path

Explanation

A hard link adds a name that refers directly to the same inode, so the data survives until the last name is removed, and hard links cannot span file systems. A symbolic link is its own small file holding a path name; if the target is deleted or moved, the link dangles. Creating a symlink does not change the target's link count.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.