繼續補課。來自wikipedia。
一個disk drive包括兩個移動部件:disk assembly(磁盤組合)和head assembly(磁頭組合)。disk assembly是盤片(platter)的集合,一個盤片有2個盤面(side)。head assembly是磁頭(head)的集合,一個盤面一個磁頭。
(1)Tracks(磁道)
The tracks are the thin concentric circular strips on a floppy medium or platter surface which actually contain the magnetic regions of data written to a disk drive.
磁道是單個盤片上的同心圓環。
(2)Sectors(扇區)
一個磁道可以分成多個扇區。如果把磁道比作單個盤片上的同心圓環的話,那麼扇區就是這個圓環上的一個扇面。
扇區之間通過間隔(gap)隔開,gap不能用來記錄數據。gap大概佔整個track的10%.
可以簡單地認爲扇區的分佈是均勻的,如下圖所示,這時每個磁道的扇區數相等。不過這麼一來不同磁道上的扇區面積不等,若要求每個扇區保存的數據容量相同的話,那麼不同磁道上扇區的數據密度就會相差非常大。所以一般的做法是內圈(比如內1/3)磁道的扇區數最少,中圈(比如中1/3)的稍多,外圈(比如外1/3)的磁道數最多。
(3)Cylinder(柱面)
Cylinders are vertically formed by tracks. In other words, track 12 on platter 0 plus track 12 on platter 1 etc. is cylinder 12. The number of cylinders of a disk drive exactly equals the number of tracks on a single surface in the drive.
柱面這個概念的提出可能是因爲磁頭組合的運動是“同手同腳”,n個磁頭是共同進退。要將磁頭h定位到盤片s上的磁道t中的扇區c,首先是磁頭組合運動到柱面t (柱面t即是所有盤片的磁道t的集合),然後選擇盤片s的磁頭h,轉動盤片s使磁頭h到達扇區c上方,然後磁頭h開始讀寫扇區c。
(柱面#, 盤片#, 扇區#)唯一確定一塊扇區,相當於(盤片#, 磁道#, 扇區#)唯一確定一塊扇區,因爲柱面# == 磁道#。