[理工] 103交大资联计系i-node

楼主: ping990579 (小山青)   2022-10-31 22:46:07
Consider a file system that uses i node-like structure (combined scheme with
multilevel indices) to represent files. Disk blocks are 8-KB in size and a
pointer to a disk block requires 4 bytes. To record a file, this file system
has 12 pointers in the primary index block, composed of 9 direct block pointers, and a single, a double, and a triple indirect
block pointers. the space of other indirect index blocks is fully used to
store pointers. If we want to access the first to the 5120 logical disk
blocks of a file, how many physical disk blocks must be read from the disk?
(Hint: please take into account the primary and other index blocks)
(A) 5120
(B)5121
(C) 5123
(d) 5125
(E) None of the above number is correct
https://imgur.com/a/Q5fgqFy
请问是哪里有算错吗
作者: me356500 (呵呵)   2022-11-01 14:28:00
少一个access primary吧
作者: bettyteng21 (羊羊)   2022-11-28 18:15:00
5124加上最一开始的,就是5125

Links booklink

Contact Us: admin [ a t ] ucptt.com