Question: 1. Linux provides functionality such as flock to set a flag that a file is locked for a specific reason. However, by default, every programmer
1. Linux provides functionality such as flock to set a "flag" that a file is locked for a specific reason. However, by default, every programmer needs to "check" to make sure that a file isn't locked (this is called advisory). Can you think of any other way that would be better (other than remounting using the mand option?
2. Calculate the total head movements for the following queues using SSTF (head starts at 53) 46, 73, 11, 20, 151, 115, 130, 49
3. Calculate the total head movements for the following queues using C-SCAN (head starts at 53, end = 199) 46, 73, 11, 20, 151, 115, 130, 49
4. Calculate the total head movements for the following queues using FCFS (head starts at 53) 46, 73, 11, 20, 151, 115, 130, 49
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
