alexh's projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
39d9c5d
)
msdosfs: Add a define of 0x28 as extended boot record signature.
author
Sascha Wildner <saw@online.de>
Wed, 15 Dec 2010 07:01:03 +0000 (08:01 +0100)
committer
Sascha Wildner <saw@online.de>
Wed, 15 Dec 2010 07:03:52 +0000 (08:03 +0100)
As per http://support.microsoft.com/kb/140418 (Detailed Explanation
of FAT Boot Sector), the "...extended boot record signature must be
either 0x28 or 0x29...".
sys/vfs/msdosfs/bootsect.h
patch
|
blob
|
blame
|
history
diff --git
a/sys/vfs/msdosfs/bootsect.h
b/sys/vfs/msdosfs/bootsect.h
index
acc51f6
..
70dcea5
100644
(file)
--- a/
sys/vfs/msdosfs/bootsect.h
+++ b/
sys/vfs/msdosfs/bootsect.h
@@
-40,6
+40,7
@@
struct extboot {
int8_t exReserved1; /* reserved */
int8_t exBootSignature; /* ext. boot signature (0x29) */
#define EXBOOTSIG 0x29
+#define EXBOOTSIG2 0x28
int8_t exVolumeID[4]; /* volume ID number */
int8_t exVolumeLabel[11]; /* volume label */
int8_t exFileSysType[8]; /* fs type (FAT12 or FAT16) */