Master_Boot_Record

The following structure defines the format of the Master Boot Record (MBR).

This type is used internally by LVM, and is not directly available through the public LVM API. However, it is possible to access this data by means of the Read_Sectors and Write_Sectors functions.

#include <lvm_data.h>

#define MBR_EBR_SIGNATURE  0xAA55


typedef struct _Master_Boot_Record {
    Byte                Reserved[ 446 ];         /* Code area               */
    Partition_Record    Partition_Table[ 4 ];    /* Partition table         */
    Word                Signature;               /* MBR/EBR signature bytes */
} Master_Boot_Record;