节点的文件表示支持的最大文件大小?

时间:2016-08-09 23:58:42

标签: file unix operating-system filesystems inode

enter image description here

对于我觉得它将是63504字节因为文件大小将是(496/4)* 512 + 16字节..但我似乎无法以请求的格式得到它,这让我相信我试图弄错了。

对于pt b我不知道如何接近它..任何帮助/提示将不胜感激

1 个答案:

答案 0 :(得分:3)

部分[a]

Starting with 

              Extent size 1 ==> File size will be 2^0 * 512 bytes 

              Extent size 2 ==>File size will be  2^1 * 512 bytes

              Extent size 3 ==>File size will be  2^2 * 512 bytes

              ......

              Extent size 12 ==>File size will be  2^11 * 512 bytes

              Extent size x ==>File size will be  2^(x-1) * 512 bytes

部分[b]

Considering 512 bytes as block size,

Number of disk accesses required for getting 1,00,000 byte will be,

100000/512  = 196

我希望它对你有意义......

相关问题