BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram explaining the outline of a disk device according to a preferred embodiment of the present invention;
FIG. 2 is a block diagram exemplifying a configuration of the disk device according to the preferred embodiment of the present invention;
FIG. 3 is a schematic exemplifying a counter table used in a first preferred embodiment;
FIG. 4 is a flowchart showing a write process to a magnetic disk, according to the first preferred embodiment;
FIG. 5 is a flowchart showing a medium scan process according to the first preferred embodiment;
FIG. 6 is a schematic exemplifying a counter table according to the first preferred embodiment;
FIG. 7 is a schematic exemplifying the count-up of the counter table shown in FIG. 6;
FIG. 8 is a schematic exemplifying the count-up of the counter table shown in FIG. 6;
FIG. 9 is a schematic exemplifying the count-up of the counter table shown in FIG. 6;
FIG. 10 is a schematic explaining a medium scan range for which medium scan is made if a counter value according to the first preferred embodiment exceeds a threshold value;
FIG. 11 is a schematic explaining a process executed when a command is received during medium scan;
FIG. 12 is a schematic explaining a process executed when a replacement sector is included in a medium scan range;
FIG. 13 is a schematic explaining a process executed when a replacement cylinder is included in a medium scan range;
FIG. 14 is a schematic explaining a process executed when a medium scan range is changed during medium scan according to the first preferred embodiment;
FIG. 15 is a schematic explaining a process with which a disk device according to a second preferred embodiment monitors the state of an access from a host computer;
FIG. 16 is a flowchart showing a write process to a magnetic disk, according to the second preferred embodiment; and
FIG. 17 is a flowchart showing a medium scan process according to the second preferred embodiment.