According to the MS specs byte offset 36 and on for a bit contain some
informaiton specific to either FAT12/16 or FAT32 depending on what
type the volume is. Specifically, bytes 36 - 39 contain the size of a
FAT32 FAT. I'm trying to write a FAT driver for an embedded system
that will talk to a Win-iPod. The problem is the Win-iPod we have
doesn't contain anything but 0s at 36 and up for a while so I have no
way of determing the size of a FAT. The iPod does work under Windows
and the first 36 bytes of the volume contains all the information it's
supposed to have.
Is there some place else that the FAT32 specific info might be on disk
or is there a default value for BPB_FATSz32 that's not mentioned in
the spec?
Thank you,
Jason Bodnar
Jeff Richards - 11 Jan 2004 06:24 GMT
The BPB does not contain information about the size of the FAT, although you
could work it out from the data that is there. The FAT size is in the DPB at
ext_dpb_fat_size.
--
Jeff Richards
MS MVP W95/W98
> According to the MS specs byte offset 36 and on for a bit contain some
> informaiton specific to either FAT12/16 or FAT32 depending on what
[quoted text clipped - 13 lines]
>
> Jason Bodnar