BIOS parameter block

From Wikipedia, the free encyclopedia

Jump to: navigation, search

In computing, the BIOS parameter block, often shortened to BPB, is a data structure describing the physical layout of a data storage volume. On partitioned devices, such as hard disks, the BPB describes the volume partition, whereas, on unpartitioned devices, such as floppy disks, it describes the entire medium. A basic BPB can appear and be used on any partition, including floppy disks where its presence is often necessary, however, certain filesystems also make use of it in describing basic filesystem structures. Filesystems making use of a BIOS parameter block include FAT16, FAT32, HPFS, and NTFS. ECMA-107 or ISO/IEC 9293 (which describes FAT as for flexible/floppy and optical disk cartridges) also describes this as an FDC Descriptor or an FDC Extended Descriptor.

The FAT12/16 BPB is as follows:

Field Hex offset
BytesPerSector dw ? 0x000B
SectorsPerCluster db ? 0x000D
ReservedSectors dw ? 0x000E
FatCopies db ? 0x0010
RootDirEntries dw ? 0x0011
NumSectors dw ? 0x0013
MediaType db ? 0x0015
SectorsPerFAT dw ? 0x0016
SectorsPerTrack dw ? 0x0018
NumberOfHeads dw ? 0x001A
HiddenSectors dd ? 0x001C
SectorsBig dd ? 0x0020

[edit] Further reading

[edit] See also

Personal tools