partitionTable Struct Reference

MBR partition table entry. More...

#include <Fat16structs.h>

List of all members.

Public Attributes

uint8_t boot
uint8_t beginHead
unsigned beginSector: 6
unsigned beginCylinderHigh: 2
uint8_t beginCylinderLow
uint8_t type
uint8_t endHead
unsigned endSector: 6
unsigned endCylinderHigh: 2
uint8_t endCylinderLow
uint32_t firstSector
uint32_t totalSectors


Detailed Description

MBR partition table entry.

A partiton table entry for a MBR formatted storage device. The MBR partiton table has four entries.


Member Data Documentation

Boot Indicator . Indicates whether the volume is the active partition. Legal values include: 0X00. Do not use for booting. 0X80 Active partition.

Head part of Cylinder-head-sector address of the first block in the partition. Legal values are 0-255. Only used in old PC BIOS.

Sector part of Cylinder-head-sector address of the first block in the partition. Legal values are 1-63. Only used in old PC BIOS.

High bits cylinder for first block in partition.

Combine beginCylinderLow with beginCylinderHigh. Legal values are 0-1023. Only used in old PC BIOS.

Partition type. See defines that begin with PART_TYPE_ for some Microsoft partition types.

head part of cylinder-head-sector address of the last sector in the partition. Legal values are 0-255. Only used in old PC BIOS.

Sector part of cylinder-head-sector address of the last sector in the partition. Legal values are 1-63. Only used in old PC BIOS.

High bits of end cylinder

Combine endCylinderLow with endCylinderHigh. Legal values are 0-1023. Only used in old PC BIOS.

Logical block address of the first block in the partition.

Length of the partition, in blocks.


The documentation for this struct was generated from the following file:

Generated on Thu Oct 9 08:22:19 2008 for Fat16 by  doxygen 1.5.6