]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libfdisk: (MBR) recognize EBBR protective partitions
authorVincent Stehlé <vincent.stehle@arm.com>
Fri, 3 Dec 2021 15:59:08 +0000 (16:59 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 7 Feb 2022 21:40:38 +0000 (22:40 +0100)
The MBR partition type 0xF8 is used by the Arm EBBR specification for
protective partitions over fixed-location firmware images.

References: https://github.com/ARM-software/ebbr
Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
include/pt-mbr-partnames.h
include/pt-mbr.h

index 19a34502993285255ed5762808ff8142a0a0817c..9304793dbe8dd5ce89b043bca9b98d45ccef35d3 100644 (file)
        {0xf1, N_("SpeedStor")},
        {0xf4, N_("SpeedStor")},        /* SpeedStor large partition */
        {0xf2, N_("DOS secondary")},    /* DOS 3.3+ secondary */
+       {0xf8, N_("EBBR protective")},  /* Arm EBBR firmware protective partition */
        {0xfb, N_("VMware VMFS")},
        {0xfc, N_("VMware VMKCORE")},   /* VMware kernel dump partition */
        {0xfd, N_("Linux raid autodetect")},/* Linux raid partition with
index 0f014cd88bcded6eb91bfa9ad64a8cd0e11386c2..ff658f346a9f6988a3dc68e9cc47c1179536ed36 100644 (file)
@@ -199,6 +199,7 @@ enum {
        MBR_SPEEDSTOR1_PARTITION        = 0xf1,
        MBR_SPEEDSTOR2_PARTITION        = 0xf4, /* SpeedStor large partition */
        MBR_DOS_SECONDARY_PARTITION     = 0xf2, /* DOS 3.3+ secondary */
+       MBR_EBBR_PROTECTIVE_PARTITION   = 0xf8, /* Arm EBBR firmware protective partition */
        MBR_VMWARE_VMFS_PARTITION       = 0xfb,
        MBR_VMWARE_VMKCORE_PARTITION    = 0xfc, /* VMware kernel dump partition */
        MBR_LINUX_RAID_PARTITION        = 0xfd, /* Linux raid partition with autodetect using persistent superblock */