PrepAway - Latest Free Exam Questions & Answers

Which of the following describes the resulting situation?

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?

PrepAway - Latest Free Exam Questions & Answers

A.
The user is prompted whether bar should be removed, too.

B.
Both foo and bar would remain accessible.

C.
foo would be removed. bar would still exist but would be unusable.

D.
foo and bar would both be removed.

E.
foo would be removed while bar would remain accessible.

One Comment on “Which of the following describes the resulting situation?

  1. Ken Masters says:

    The answer here is E. Hard links point to the same inode not like a symbolic link which points to and directly accesses the linked-to file.

    This means that there will be 2 files, foo and bar; if one is modified and saved, the other will reflect the changes made. If one is deleted, the other will still be accessible.




    2



    0

Leave a Reply