[syslinux:fsc] FAT: fix installer on FAT32 filesystems
syslinux-bot for H. Peter Anvin
hpa at zytor.com
Sun Jan 24 16:57:07 PST 2010
Commit-ID: 42f0218e808c37e08cdb12e99b80a3c9b437cd37
Gitweb: http://syslinux.zytor.com/commit/42f0218e808c37e08cdb12e99b80a3c9b437cd37
Author: H. Peter Anvin <hpa at zytor.com>
AuthorDate: Sun, 24 Jan 2010 16:53:37 -0800
Committer: H. Peter Anvin <hpa at zytor.com>
CommitDate: Sun, 24 Jan 2010 16:53:37 -0800
FAT: fix installer on FAT32 filesystems
The FAT32 superblock has a 12-byte reserved field which wasn't
accounted for in the structure. As a result, the installer refused to
run on a FAT32 filesystem. Fix the structure.
Reported-by: Kim Mik <kimmik999999 at yahoo.co.uk>
Signed-off-by: H. Peter Anvin <hpa at zytor.com>
---
libinstaller/syslxint.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libinstaller/syslxint.h b/libinstaller/syslxint.h
index e2a8072..336e6f0 100644
--- a/libinstaller/syslxint.h
+++ b/libinstaller/syslxint.h
@@ -126,6 +126,7 @@ struct boot_sector {
uint32_t RootClus;
uint16_t FSInfo;
uint16_t BkBootSec;
+ uint8_t Reserved0[12];
uint8_t DriveNumber;
uint8_t Reserved1;
uint8_t BootSignature;
More information about the Syslinux-commits
mailing list