Displaying 2 results from an estimated 2 matches for "volume_total_sectors".
2016 Feb 26
0
[PATCH 1/5] fat: fix minfatsize for large FAT32
...of an "adequate" minfatsize in Syslinux's code, we should
at least test the values that are around or close to the limits between
FAT12/16/32.
For simplicity, I'll give basic examples (which I have not truly
analyzed; developers could / should test relevant code).
Example A:
Volume_Total_Sectors: 66'463
FAT type: FAT32
Bytes_per_sector: 512
Sectors_per_Cluster: 1
Sectors_per_FAT: 511 ---> this value should _not_ be accepted as valid
minfatsize; 512 should be OK.
Example B:
Volume_Total_Sectors: 4'187'104
FAT type: FAT32
Bytes_per_sector: 512
Sectors_per_Cluster: 64
Sectors...
2016 Feb 26
2
[PATCH 1/5] fat: fix minfatsize for large FAT32
Hi Ady,
I won't comment on the reasons why the original computation was wrong,
but thanks for the detailed analysis.
On 2016.02.26 08:05, Ady via Syslinux wrote:
>> Thus we can finally get a formula for Fs that satisfies the above:
>>
>> Fs = (To - Rs + Nf * Cs) / ((Ss * Cs / Fe) + Nf) + 1
>
> I believe such formula is slightly inaccurate too.
>
> My