In: Computer Science
Assume that the maximum capacity of a file system space is 8TB (1TB = 240 bytes), and the disk block size is 2KB. The file control block (FCB) contains an index table of 512 bytes. Answer the following questions:
(2) [4 MARKS] Suppose that the index table area adopts the following structure: the first 8 bytes (0 ~ 7 ) use <start block number, number of blocks> to represent the pre-allocated continuous storage space during file creation, in which the start block number accounts for 6 bytes, and the number of blocks accounts for 2 bytes; the remaining 504 bytes use the direct index structure, and one index entry accounts for 6 bytes. What is the maximum length of a single file that can be supported by this scheme? In order to maximize the length of a single file, what values of the start block number and number of blocks should be set at?