utility
partitionTable Struct Reference
MBR partition table entry. More...
#include <FatStructs.h>
Data Fields | |
| uint8_t | boot |
| Boot Indicator . | |
| uint8_t | beginHead |
| Head part of Cylinder-head-sector address of the first block in the partition. | |
| unsigned | beginSector: 6 |
| Sector part of Cylinder-head-sector address of the first block in the partition. | |
| unsigned | beginCylinderHigh: 2 |
| High bits cylinder for first block in partition. | |
| uint8_t | beginCylinderLow |
| Combine beginCylinderLow with beginCylinderHigh. | |
| uint8_t | type |
| Partition type. | |
| uint8_t | endHead |
| head part of cylinder-head-sector address of the last sector in the partition. | |
| unsigned | endSector: 6 |
| Sector part of cylinder-head-sector address of the last sector in the partition. | |
| unsigned | endCylinderHigh: 2 |
| High bits of end cylinder. | |
| uint8_t | endCylinderLow |
| Combine endCylinderLow with endCylinderHigh. | |
| uint32_t | firstSector |
| Logical block address of the first block in the partition. | |
| uint32_t | totalSectors |
| Length of the partition, in blocks. | |
Detailed Description
MBR partition table entry.
A partition table entry for a MBR formatted storage device. The MBR partition table has four entries.
Definition at line 43 of file FatStructs.h.
Field Documentation
| unsigned beginCylinderHigh |
High bits cylinder for first block in partition.
Definition at line 61 of file FatStructs.h.
| uint8_t beginCylinderLow |
Combine beginCylinderLow with beginCylinderHigh.
Legal values are 0-1023. Only used in old PC BIOS.
Definition at line 66 of file FatStructs.h.
| uint8_t beginHead |
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.
Definition at line 54 of file FatStructs.h.
| unsigned beginSector |
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.
Definition at line 59 of file FatStructs.h.
| uint8_t boot |
Boot Indicator .
Indicates whether the volume is the active partition. Legal values include: 0X00. Do not use for booting. 0X80 Active partition.
Definition at line 49 of file FatStructs.h.
| unsigned endCylinderHigh |
High bits of end cylinder.
Definition at line 83 of file FatStructs.h.
| uint8_t endCylinderLow |
Combine endCylinderLow with endCylinderHigh.
Legal values are 0-1023. Only used in old PC BIOS.
Definition at line 88 of file FatStructs.h.
| uint8_t endHead |
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.
Definition at line 76 of file FatStructs.h.
| unsigned endSector |
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.
Definition at line 81 of file FatStructs.h.
| uint32_t firstSector |
Logical block address of the first block in the partition.
Definition at line 90 of file FatStructs.h.
| uint32_t totalSectors |
Length of the partition, in blocks.
Definition at line 92 of file FatStructs.h.
| uint8_t type |
Partition type.
See defines that begin with PART_TYPE_ for some Microsoft partition types.
Definition at line 71 of file FatStructs.h.
Generated on Thu Jul 14 2022 02:07:54 by
1.7.2