某文件系统采用多级索引结构,若磁盘块的大小为4k字节,每个块号需占4字节,那么采用二级索引结构时的文件最大长度可占用( )个物理块。
2023-09-01
A. 1024
B.1024×1024
C.2048×2048
D.4096×4096
参考答案:B
B.1024×1024
C.2048×2048
D.4096×4096
参考答案:B
磁盘块的大小为4k字节,每个块号需占4字节。因此一级的索引大小=4k/4=1k。而二级索引的大小为=1k×1k=1024×1024。
![]( //img1.runjiapp.com/duoteimg/tiku/images/pc/questionBank/main-list-title-icon.png)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_33.jpg)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_22.jpg)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_15.jpg)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_90.jpg)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_34.jpg)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_60.jpg)
热门标签