Searched hist:183234 (Results 1 - 1 of 1) sorted by relevance

/freebsd-current/sbin/newfs_msdos/
H A Dmkfs_msdos.cdiff bf0d940a Tue Aug 30 12:01:26 MDT 2016 Warner Losh <imp@FreeBSD.org> The code only converts from bpbHugeSectors to bpbSectors if the sum of
the hidden and huge sectors is less than or equal MAXU16. When
formatting in Windows bpbSectors is still used for 63488 sectors and
2048 hidden (sum > MAXU16). The hidden sectors count is the number of
sectors before the FAT16 Boot Record so it shouldn't affect the sector
count. Attached patch (huge_sec_conversion.patch) to only check for
bpb.bpbHugeSectors <= MAXU16 when converting to bpbSectors.

Submitted by: Guy Yur
PR: 183234
diff 4a9fb9fb Tue Aug 30 12:01:19 MDT 2016 Warner Losh <imp@FreeBSD.org> Remove CHS alignment. It's not needed and causes problems for the BBB
boot partition. NetBSD removed it in 1.10 in their repo some time ago.

Submitted by: Guy Yur
PR: 183234

Completed in 126 milliseconds