Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.
After successfully creating a hard link called bar to the ordinary file foo, foo is deleted from the filesystem. Which of the following describes the resulting situation?
A.
foo and bar would both be removed.
B.
foo would be removed while bar would remain accessible.
C.
foo would be removed. bar would still exist but would be unusable.
D.
Both foo and bar would remain accessible.
E.
The user is prompted whether bar should be removed, too.
The correct answer is B. foo would be removed while bar would remain accessible.
Here's why:
Hard links are multiple directory entries (names) that point to the same underlying data on the filesystem.
Deleting one of the hard links (in this case, foo) only removes that specific name, not the underlying data.
As long as at least one hard link exists (bar in this case), the data remains accessible.
Therefore, even after deleting foo, the content is still accessible through the hard link bar.
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
9866666
1 week, 5 days ago