作業系統›Ch10 檔案管理
第 3 題/共 28 題
◀ OS 3/28
3. File Allocation、Contiguous Allocation、Linked Allocation、Indexed Allocation
#OS-10-003中File AllocationContiguous AllocationLinked AllocationIndexed Allocation

關於檔案配置(file allocation),block 大小為 4,096 bytes,指向一個 block 的指標(pointer)大小為 8 bytes。我們要把一個 N-byte 的檔案配置到無限大的磁碟空間,且不允許使用 file allocation table。

  • Contiguous allocation 為此檔案配置 W 個 blocks。
  • Linked allocation(不使用 clustering)為此檔案配置 X 個 blocks 及對應的指標。
  • Linked allocation(使用 clustering,以 2 個 blocks 為一個 cluster)為此檔案配置 Y 個 blocks 及對應的指標。
  • Indexed allocation(其中 index 本身使用不做 clustering 的 linked allocation)為此檔案配置 Z 個 blocks 及對應的指標。

請選出正確的敘述。

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