FAT32 DBR Structure

Source: Internet
Author: User

FAT32 DBR Structure

 

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 (<32 MB, do not use for FAT32) <br/> byte media; // media Descriptor (always is F8) <br/> int16 sectors_p Er_fat_small; // do not use for FAT32 <br/> int16 sectors_per_track; <br/> int16 heads; // number of magnetic 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; // number of sectors occupied by DBR <br/> int16 backup_boot_sector; // backup sector <br/> byte reserved [12]; <br/> byte bios_driver; <br/> byte unused; <br/> byte extend_boot_signature; // extended boot flag (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/>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.