boot0 patch

Dag-Erling Smørgrav des at des.no
Tue Feb 8 08:23:05 GMT 2005


boot0 currently recognizes FAT partition types 0x1, 0x4, 0x6, 0xb, 0xc
and 0xe but not NTFS (type 0x7).  While type 0x1 (FAT12) is used on
floppies and 0x6 (FAT16 >32M) is still in relatively common use on
hard disks, I believe 0x4 (FAT16 <32M) hasn't been in widespread use
since the late eighties.  The attached patch removes 0x4 from the list
of recognized partition types in boot0 and adds 0x7 in its place.

We still don't have room for the string "Windows", so type 0x7 is
identified as DOS, but at least it's identified...

DES
-- 
Dag-Erling Smørgrav - des at des.no

-------------- next part --------------
A non-text attachment was scrubbed...
Name: boot0.diff
Type: text/x-patch
Size: 786 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050208/d70a6fee/boot0.bin


More information about the freebsd-current mailing list