← Quiz: Files and Disk Scheduling: all 10 questions
Quiz: Files and Disk Scheduling · Question 8 of 10
The original name of a file is deleted, but a hard link to it still exists. What happens to the data?
The original name of a file is deleted, but a hard link to it still exists. What happens to the data?
- A.It is deleted at once
- B.It stays, because the hard link points to the same inode
- C.The hard link turns into a soft link
- D.The data moves to a new inode
Answer & explanation
Correct answer: It stays, because the hard link points to the same inode
The data is freed only when the last hard link to the inode is removed.
Can you get the rest right without peeking?
Take the timed Quiz: Files and Disk Scheduling quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →