Okay, this goes nowhere. Doesn't matter how much you want to protect a bad specification, that specification remains bad.
Octocontrabass wrote:I think your math might be a bit off there; FAT12 volumes can be up to around 128MB
Not my math. From the FAT specification, page 13:
Note that media size for FAT12 volumes must be <= 4MB.
Octocontrabass wrote:Octocontrabass wrote:I'm sure there are some tools that will correctly identify it as a FAT12
There is no "correct" way to identify an invalid filesystem.
You said it, not me.
What I've said was that using the FAT specification page 14-15, section "3.5 Determination of FAT type when mounting the volume" is inadequate and wrong, because
The FAT type is determined solely by the count of clusters on the volume (CountOfClusters).
is obviously incorrect, and contradicts many other statements in the same specification. For example from page 8
BPB_RootEntCnt For FAT32 volumes, this field must be set to 0.
And from page 9
BPB_FATSz16 On FAT32 volumes this field must be 0
So the
fields in the BPB also matters, so does
the overall volume size (see on page 13), therefore the statement on page 14, "determined solely by the count of clusters" is unquestionably and undeniably wrong.
Octocontrabass wrote:The FilSysType field didn't exist until OS/2 1.0
But MediaType did existed. Long story short, they could have included a FAT type field in the BPB, but they didn't. This was a big mistake, anyone can see that.
Octocontrabass wrote:The BPB itself was first introduced in DOS 2.0, in order to support hard disks. A floppy disk formatted with a prior version of DOS wouldn't have a BPB at all.
I don't have any floppy drives any more (not to mention the really ancient 160Kb floppies), so I don't care how they were formatted by ancient and obsolete MS-DOS version which couldn't even handle directories. Furthermore, according to the FAT specification page 7:
All FAT volumes must have a BPB in the boot sector.
Conclusion: FAT file system is poorly designed, and the FAT specification is badly written with full of contradictions. Period. That's the truth. Resistance is futile
Cheers,
bzt