看板 Grad-ProbAsk 關於我們 聯絡資訊
Consider a file system on a disk that has both logical and physical block sizes of 512 bytes.Assume that the information about each file is already in memory. For each of the three allocation strategies(Contiguous,linked,indexed),answer the questions: (b)If we are currently at logical block 10(the last block accessed was block 10) and want to access logical boldk4,how many physycal blocks must be read from the disk? 我想問的是linked list 為什麼是4不是5 我的想法是:從第0個block開始 → 1 → 2 → 3 → 4 所以總共五次 對照一題99交大OS 感覺有點矛盾 @@ 所以來問問了! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.113.122.233
metalalive:正好也要請教這個,題目沒說從block0開始還是1 12/10 00:53