Subject: CVS commit: src/usr.sbin/installboot/arch
To: None <source-changes@NetBSD.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 10/14/2003 09:46:43
Module Name:	src
Committed By:	lukem
Date:		Tue Oct 14 09:46:43 UTC 2003

Modified Files:
	src/usr.sbin/installboot/arch: i386.c

Log Message:
Instead of requiring that the BPB is always the FAT32 one, check the
first three bytes to determine how much of the BPB to preserve.
Supported values:
	eb 3c 90        FAT16 BPB
	eb 58 90        FAT32 BPB
	(anything else)	don't preserve any BPB

This is because the BPB is generally only the FAT16 one except in the
bootxx_msdos case, where it's the larger FAT32 one.


To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 src/usr.sbin/installboot/arch/i386.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.