看板 Grad-ProbAsk 關於我們 聯絡資訊
An IDE hard disk spins at 7200RPM,1000 cylinders,10 tracks per cyclinder 100 sector per track, and 512 bytes per sector. The disk is performatted by a file system which the logical block size is 1024 bytes. If we ignore the space to keep directory and indexes, how many 1-byte files that the disk can store ? Disk總容量為512000000 bytes,為啥還要除1024?不是直接除5120000000/1byte就好了嗎 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.138.109.248
taitin:因為一個檔案至少要一個磁區 02/18 00:45
luckysky1:98交大 同樓上 02/18 08:09
gn00618777:是說1個檔案至少1個block嗎/ 02/18 10:08
gn00618777:它是以block為單位,儘管1個block有能塞好幾個file的 02/18 10:10
gn00618777:大小? 02/18 10:10
jwcs:File是以block為單位,即使它實際只占block中的1byte 02/18 12:45
gn00618777:恩恩 02/18 20:29