Similar questions 7 more → · asked again: GATE 1998, Q1.32
Deadlocks


Answer & solution
Answer: A: n=2 (no official key was published)
A worst-case deadlock can have every process hold two drives and wait for its third. To rule that out for n processes, at least 2n+1 drives suffice under the standard completion model. With six drives, this requires n≤2. For three processes, each can hold two, exhausting all six and waiting forever. For two processes, their combined maximum demand is six, so both can be fully satisfied. The guarantee assumes eventual completion after required resources are granted and no additional resource types or faulty nontermination.