mirror of
https://github.com/opnsense/src.git
synced 2026-02-17 01:31:45 -05:00
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 |
||
|---|---|---|
| .. | ||
| Makefile | ||
| Makefile.depend | ||
| mkfs_msdos.c | ||
| mkfs_msdos.h | ||
| newfs_msdos.8 | ||
| newfs_msdos.c | ||