A single-track hard disk is described with 12 sectors of 512 bytes each addressed by numbers 0-11. A disk motor rotates the single platter clockwise while a head attached to an arm can read and write the sectors as the platter spins. In the example, the head is positioned over sector 6 as the surface rotates counter-clockwise.
A single-track hard disk is described with 12 sectors of 512 bytes each addressed by numbers 0-11. A disk motor rotates the single platter clockwise while a head attached to an arm can read and write the sectors as the platter spins. In the example, the head is positioned over sector 6 as the surface rotates counter-clockwise.
A single-track hard disk is described with 12 sectors of 512 bytes each addressed by numbers 0-11. A disk motor rotates the single platter clockwise while a head attached to an arm can read and write the sectors as the platter spins. In the example, the head is positioned over sector 6 as the surface rotates counter-clockwise.
Let us now understand how this all works by building up our model of how a disk drive works, one track at a time. Assume we have a very simple disk, with only a single track (Figure 36.1):
10
11 Spindle
1 4
Figure 36.1: A disk with just a single track
This track has just 12 sectors, each of which is 512 bytes in size (our typical sector size, recall) and addressed therefore by the numbers 0 through 11. The single platter we have here rotates around the spindle, to which a motor is attached. Of course, the track by itself isnt too interesting; we want to be able to read or write those sectors, and thus we need a disk head, attached to a disk arm, as we now see (Figure 36.2). Rotates this way 8
10
Hea
Arm
36.3
11 Spindle
0 5
1 4
Figure 36.2: A single track plus a head
In the figure, the disk head, attached to the end of the arm, is positioned over sector 6, and the surface is rotating in a counterclockwise fashion.