Provided is a hard disc drive controlling method, and more particularly, a
method of controlling track seek in a hard disc drive (HDD) provided
against a shift between discs, and a computer readable recording medium
having embodied thereon a computer program for the method. The method of
controlling track seek in a HDD, including disc switching, includes: head
switching to a head corresponding to a disc having a target track;
calculating track seek length by comparing the previous target track
address and the current target track address; determining whether or not
the track seek length is shorter than the limit seek length set by
considering a shift of a disc; if the track seek length is shorter than
the limit seek length, reading the track address of a track on which the
head is put on the switched disc, and by referring to the read track
address and the target track address, determining track seek length and a
seek profile thereof; and performing track seek according to the
determined seek profile. According to the track seek control method of
the invention, even when there is a shift between discs, the shift is
automatically reflected and compensated for when track seek is performed,
such that stable track seek can be performed.