[理工] [作業系統] 檔案系統

看板Grad-ProbAsk作者 (小銓)時間14年前 (2012/01/09 00:52), 編輯推噓0(007)
留言7則, 2人參與, 最新討論串1/1
想請教各位 A file system has 1-KB blocks and 4-byte disk address (you can figure out the number of address can be stored in a block ).What is the maximum file size if i-node contain 10 direct entries,and one single , double ,and triple indirect entry each? Here no information is stored in i-nodes and file sizes only count the information, not attributes,stored. 這是在寫題目寫到的 不是很懂 也不太會寫 可否麻煩大大 解題 感謝! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.40.112.153

01/09 01:21, , 1F
10+2^8+2^16+2^24
01/09 01:21, 1F

01/09 01:22, , 2F
在乘4 byte,沒看到size
01/09 01:22, 2F

01/09 01:40, , 3F
乘錯==是乘1KB
01/09 01:40, 3F

01/09 05:50, , 4F
請問是這樣嗎 (10+2^8+2^16+2^24)*1KB(即2^10*8) ?
01/09 05:50, 4F

01/09 08:04, , 5F
應該是…吧
01/09 08:04, 5F

01/09 08:07, , 6F
沒乘開過我也不確定耶
01/09 08:07, 6F

01/09 08:35, , 7F
恩 謝謝你
01/09 08:35, 7F
文章代碼(AID): #1F2SdH_9 (Grad-ProbAsk)