Question: Problem 4: Consider a file system on a disk that has a logical block size of 512 bytes and assume that the information about each

Problem 4: Consider a file system on a disk that has a logical block size of 512 bytes and assume that the information about each file (i.e., the folder) is already in memory and that each pointer requires 4 bytes under linked and indexed allocation methods, answer the following questions: (5 points) (a) How many blocks are required for storing a 259KB file under i) contiguous, ii) linked, and ii) indexed allocation methods? Note that 1KB is 1024 bytes. (b) How many blocks must be read from the disk under linked allocation when the user wants to access data on the 19857 byte of that file? (c) How many blocks must be read from the disk under indexed allocation when the user wants to access data on the 47258th byte of that file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
