Question: Question 4 : Consider a file system on a disk that has both logical and physical block sizes of 512 bytes. Assume that the information

Question 4: 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 in a table form:

  1. 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.)

  1. If we are currently at logical block 4 (the last logical block accessed was block 10) and want to access logical block 25, how many physical blocks must be read from the disk?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!