fat32fs
Chris Hall (132) 3554 posts |
If you create a FAT partition on an NVME drive then DOSFS cannot handle 4k sectors as it is hard wired to expect 512B sectors. It now appears that fat32fs 1.64 is equally broken so we’ll have to wait until either or both of them are fixed. |
Jon Abbott (1421) 2651 posts |
I investigated and then reported this issue in March and also provided the solution for DOSFS. It will be the same for FAT32FS, although it will be somewhat more complicated by the fact it will also need to detect the physical LBA size. DOSFS being an image filing system must ignore the physical LBA size and use the size reported in the BPB …otherwise a FAT image from a 512 byte drive would fail when copied to a 4K drive and visa-versa. FAT32FS needs to use the physical LBA size when accessing the physical disc, but use the size from the BPB to address the data…if that makes sense. |