Question: Operating System Q1 . Consider a file system on a disk that has both logical and physical block sizes of 512 bytes. Assume that the
Operating System
Q1 .
Consider a file system on a disk that has both logical and physical block sizes of 512 bytes. Assume that the information about each file is already in memory. For each of the three allocation strategies (contiguous, linked, and indexed), answer these questions:
a. How is the logical-to-physical address mapping accomplished in this system? (For the indexed allocation, assume that a file is always less than 512 blocks long.)
b. If we are currently at logical block 10 (the last block accessed was block 10) and want to access logical block 4, how many physical blocks must be read from the disk?
Q2.Explain the ways of disk attachments used by computers to access memory disk?
Explain C-SCAN disk scheduling algorithm with example?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
