bpb.h (8876) | bpb.h (13765) |
---|---|
1/* $Id: bpb.h,v 1.1 1994/09/19 15:41:37 dfr Exp $ */ | 1/* $Id: bpb.h,v 1.2 1995/05/30 08:07:30 rgrimes Exp $ */ |
2/* $NetBSD: bpb.h,v 1.3 1994/06/29 06:35:29 cgd Exp $ */ 3 4/* 5 * Written by Paul Popelka (paulp@uts.amdahl.com) 6 * 7 * You can do anything you want with this software, just don't say you wrote 8 * it, and don't remove this notice. 9 * --- 35 unchanged lines hidden (view full) --- 45 u_char bpbFATs; /* number of FATs */ 46 u_short bpbRootDirEnts; /* number of root directory entries */ 47 u_short bpbSectors; /* total number of sectors */ 48 u_char bpbMedia; /* media descriptor */ 49 u_short bpbFATsecs; /* number of sectors per FAT */ 50 u_short bpbSecPerTrack; /* sectors per track */ 51 u_short bpbHeads; /* number of heads */ 52 u_long bpbHiddenSecs; /* number of hidden sectors */ | 2/* $NetBSD: bpb.h,v 1.3 1994/06/29 06:35:29 cgd Exp $ */ 3 4/* 5 * Written by Paul Popelka (paulp@uts.amdahl.com) 6 * 7 * You can do anything you want with this software, just don't say you wrote 8 * it, and don't remove this notice. 9 * --- 35 unchanged lines hidden (view full) --- 45 u_char bpbFATs; /* number of FATs */ 46 u_short bpbRootDirEnts; /* number of root directory entries */ 47 u_short bpbSectors; /* total number of sectors */ 48 u_char bpbMedia; /* media descriptor */ 49 u_short bpbFATsecs; /* number of sectors per FAT */ 50 u_short bpbSecPerTrack; /* sectors per track */ 51 u_short bpbHeads; /* number of heads */ 52 u_long bpbHiddenSecs; /* number of hidden sectors */ |
53 u_long bpbHugeSectors; /* number of sectrs if bpbSectors == 0 */ | 53 u_long bpbHugeSectors; /* number of sectors if bpbSectors == 0 */ |
54}; 55 56/* 57 * The following structures represent how the bpb's look on disk. shorts 58 * and longs are just character arrays of the appropriate length. This is 59 * because the compiler forces shorts and longs to align on word or 60 * halfword boundaries. 61 * --- 49 unchanged lines hidden (view full) --- 111 char bpbFATs; /* number of FATs */ 112 char bpbRootDirEnts[2]; /* number of root directory entries */ 113 char bpbSectors[2]; /* total number of sectors */ 114 char bpbMedia; /* media descriptor */ 115 char bpbFATsecs[2]; /* number of sectors per FAT */ 116 char bpbSecPerTrack[2]; /* sectors per track */ 117 char bpbHeads[2]; /* number of heads */ 118 char bpbHiddenSecs[4]; /* number of hidden sectors */ | 54}; 55 56/* 57 * The following structures represent how the bpb's look on disk. shorts 58 * and longs are just character arrays of the appropriate length. This is 59 * because the compiler forces shorts and longs to align on word or 60 * halfword boundaries. 61 * --- 49 unchanged lines hidden (view full) --- 111 char bpbFATs; /* number of FATs */ 112 char bpbRootDirEnts[2]; /* number of root directory entries */ 113 char bpbSectors[2]; /* total number of sectors */ 114 char bpbMedia; /* media descriptor */ 115 char bpbFATsecs[2]; /* number of sectors per FAT */ 116 char bpbSecPerTrack[2]; /* sectors per track */ 117 char bpbHeads[2]; /* number of heads */ 118 char bpbHiddenSecs[4]; /* number of hidden sectors */ |
119 char bpbHugeSectors[4]; /* number of sectrs if bpbSectors == 0 */ | 119 char bpbHugeSectors[4]; /* number of sectors if bpbSectors == 0 */ |
120}; | 120}; |