summaryrefslogtreecommitdiffstats
path: root/sys/fs/msdosfs/bootsect.h
diff options
context:
space:
mode:
authorpeadar <peadar@FreeBSD.org>2005-09-29 14:09:46 +0000
committerpeadar <peadar@FreeBSD.org>2005-09-29 14:09:46 +0000
commite0565b5794c9fb041922ccea2d6e78b8d943be8a (patch)
treef1b31f7b7644db0c1149bcf8e85258007c02209a /sys/fs/msdosfs/bootsect.h
parent678546cfbf6ba5267b9b10a06da241bf76a26cf8 (diff)
downloadFreeBSD-src-e0565b5794c9fb041922ccea2d6e78b8d943be8a.zip
FreeBSD-src-e0565b5794c9fb041922ccea2d6e78b8d943be8a.tar.gz
Remove checks for BOOTSIG[23] from FAT32 bootblocks.
There seems to be very little documentary evidence outside this implementation to suggest a these checks are neccessary, and more than one camera-formatted flash disk fails the check, but mounts successfully on most other systems. Reviewed By: bde@
Diffstat (limited to 'sys/fs/msdosfs/bootsect.h')
-rw-r--r--sys/fs/msdosfs/bootsect.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/fs/msdosfs/bootsect.h b/sys/fs/msdosfs/bootsect.h
index 3102ce3..9e8aa97 100644
--- a/sys/fs/msdosfs/bootsect.h
+++ b/sys/fs/msdosfs/bootsect.h
@@ -61,15 +61,11 @@ struct bootsector710 {
int8_t bsOEMName[8]; /* OEM name and version */
int8_t bsBPB[53]; /* BIOS parameter block */
int8_t bsExt[26]; /* Bootsector Extension */
- int8_t bsBootCode[418]; /* pad so structure is 512b */
- u_int8_t bsBootSectSig2; /* 2 & 3 are only defined for FAT32? */
- u_int8_t bsBootSectSig3;
+ int8_t bsBootCode[420]; /* pad so structure is 512b */
u_int8_t bsBootSectSig0;
u_int8_t bsBootSectSig1;
#define BOOTSIG0 0x55
#define BOOTSIG1 0xaa
-#define BOOTSIG2 0
-#define BOOTSIG3 0
};
union bootsector {
OpenPOWER on IntegriCloud