FAT32 DBR結構
typedef struct _FAT32_DBR<br />{<br />BYTE Jmp[3];//JMP instruction<br />BYTE OEM[8];//OEM<br />INT16 Bytes_Per_Sector;<br />INT16 Sectors_Per_Cluster;<br />INT16 Reserved_Sectors;<br />BYTE FAT_Count;//Number of FATs<br />INT16 Boot_Entries;//Boot entries (unused)<br />INT16 Sectors_Small;//Sectors (<32MB, do not use for FAT32)<br />BYTE Media;//Media descriptor (always is F8)<br />INT16 Sectors_Per_FAT_Small;//do not use for FAT32<br />INT16 Sectors_Per_Track;<br />INT16 Heads;//磁頭數<br />INT32 Sectors_Hidden;//0 ~ DBR<br />INT32 Sectors;//Sectors (on large volumes)<br />INT32 Sectors_Per_FAT;<br />INT16 Flags;<br />INT16 Version;<br />INT32 Root_Dir_1st_Cluster;<br />INT16 FSInfo_Sector;//DBR佔用扇區數<br />INT16 Backup_Boot_Sector;//備份所在扇區<br />BYTE Reserved[12];<br />BYTE BIOS_Driver;<br />BYTE Unused;<br />BYTE Extend_Boot_Signature;//擴充引導標誌 (0x29)<br />INT32 Volume_SN;//Volume serial number<br />BYTE Volume_Label[11];<br />BYTE File_System[8];//FAT32<br />BYTE Boot_Code[420];<br />BYTE Signature[2];//55 AA<br />}Fat32_DBR;<br />