DLA_Table_Sector

This structure defines the drive letter assignment (DLA) table used by LVM. For each partition table on the disk, there will be a DLA table in the last sector of the track containing that partition table.

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>

typedef struct _DLA_Table_Sector {
    DoubleWord     DLA_Signature1;                 /* The DLAT signature (part 1)             */
    DoubleWord     DLA_Signature2;                 /* The DLAT signature (part 2)             */
    DoubleWord     DLA_CRC;                        /* The 32-bit CRC for this sector          */
    DoubleWord     Disk_Serial_Number;             /* The serial number assigned to this disk */
    DoubleWord     Boot_Disk_Serial_Number;        /* The serial number of the boot disk      */
    CARDINAL32     Install_Flags;                  /* For use by the Install program          */
    CARDINAL32     Cylinders;
    CARDINAL32     Heads_Per_Cylinder;
    CARDINAL32     Sectors_Per_Track;
    char           Disk_Name[ DISK_NAME_SIZE ];    /* The name of the current disk            */
    BOOLEAN        Reboot;                         /* For use by the Install program          */
    BYTE           Reserved[ 3 ];
    DLA_Entry      DLA_Array[ 4 ];                 /* DLA entries for each partition          */
} DLA_Table_Sector;