作業系統›Ch10 檔案管理
第 13 題/共 28 題
◀ OS 13/28
13. File System、Inode Table、Data Region
#OS-10-013易File SystemInode TableData Region
題組題幹(本題:第26題,共 3 小題)點擊展開

Consider a file system called TFS that is divided into a series of blocks, the size of each block is 4 KB. The blocks are indexed from 0 to 31, assuming we have a tiny disk, with just 32 blocks. Let's refer to the region of the disk used for user data as the data region, which consists of the last 24 of the 32 blocks on the disk. Additionally, we allocate 5 of our 32 blocks for inode table denoted by I's in the diagram. An inode table is partitioned into multiple i-blocks indexed by i-block (IB) 0 to IB 4. An i-block stores multiple inodes and the size of each inode is 256 bytes. Finally, the inode bitmap (i), the data bitmap (d), and the superblock (S) respectively use one 4KB block.

What is the maximum number of files where the TFS file system can manage?

題目附圖
📄 交大115
跳轉到第題
▤完整推導請見《WH 資工筆記 · 作業系統》Ch10 檔案管理
本章題號 · 1–20 / 28