584 views
0 votes
0 votes
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?

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
1
ajaysoni1924 asked Mar 22, 2019
256 views
Explain why logging metadata updates ensures recovery of a file system after a file-system crash.
0 votes
0 votes
0 answers
2
0 votes
0 votes
0 answers
4
ajaysoni1924 asked Mar 22, 2019
339 views
Give an example of an application that could benefit from operatingsystemsupport for random access to indexed files.