Detecting flaws in a disk drive includes sampling a read signal provided
by reading a data pattern from a disk to obtain samples, obtaining
significant samples from the samples, deriving a value from the
significant samples, and reporting a flaw if a comparison between the
derived value and a threshold value is unacceptable.