Suppose that you have a UNIX file system where the disk block size is 1kB, and
an inode takes 128 bytes. Disk addresses take 32 bits, and the inode contains
space for 64 bytes of data (a recent optimization), 8 direct addresses, one
indirect, one double-indirect and one triple-indirect (the rest of the space
in
the mode is taken up with other information such as ownership and protection).
An index block is the same size as a disk block. How much space (including
overhead) do the following files that have data require?
a. one (1) byte long,
b. 1025 bytes long,
c. 65536 (64KB) bytes long, and
d. 1048576 (1MB) bytes long
這樣子的題目
完全沒甚麼概念去算
希望高手慷慨解囊一下
鋼溫!!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 223.140.176.223