home *** CD-ROM | disk | FTP | other *** search
- /*
- ** Bad Track Table
- ** This block contains the mapping between bad tracks and their
- ** replacements (or alternates). This table occupies the second
- ** to last sector in the active partition.
- ** $Header: btt.h,v 1.2 87/09/16 02:11:51 root Exp $
- */
-
- #ifndef BTT_H
- #define BTT_H
-
- typedef struct {
- unsigned short bad_cylinder;
- unsigned char bad_track;
- unsigned short new_cylinder;
- unsigned char new_track;
- } badtrack;
-
- #define BADTRACKMAPS_PER_SECTOR 85 /* 85 * sizeof(bad_track_map) == 510 */
-
- typedef badtrack btt_t[BADTRACKMAPS_PER_SECTOR + 1]; /* > 512 */
-
- #endif /* BTT_H */
-
-