Question: 2 . In Linux, suppose a process successfully opens an existing file that has a single hard link to it , but while the process
In Linux, suppose a process successfully opens an existing file that has a single hard link to it but while the process is reading that file, another process unlinks that file? What happens to subsequent reads by the first process? Do they succeed? Do they fail? Answer this problem by consulting documentation or by writing a program to test the behavior of the system in this case.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
