Lines Matching defs:sector
29 * display progress on stdout, and print bad sector numbers to stderr
49 static void report(char *what, diskaddr_t sector);
60 static diskaddr_t unix_base; /* first sector of UNIX System partition */
164 * attempt to read every sector of the drive;
198 /* make track buffer sector aligned */
254 "Error seeking sector %llu Cylinder %llu\n",
260 * verify sector at a time only when
262 * (if we write a sector at a time, it takes forever)
272 * then announce the sector bad on stderr
278 "sector %llu Cylinder %llu\n",
301 "Error seeking sector %llu Cylinder %llu\n",
307 * read a sector at a time only when
309 * (if we do a sector at a time read, it takes forever)
319 " sector %llu Cylinder %llu\n",
337 (void) printf("%cFound %ld bad sector(s) on read,"
338 " %ld bad sector(s) on write%c",
356 report(char *what, diskaddr_t sector)
358 (void) printf("%s sector %-19llu of %-19llu%c", what, sector,