aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Stehlé <vincent.stehle@arm.com>2021-12-13 10:07:18 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2022-01-06 10:55:53 +0100
commita93668cc4277b14eaff07fcfdef9693c990ec824 (patch)
tree3568a9eb762859aca36c09984aff7b4ccfb8b1b0
parent6062c0d19bc201cbeb61b8875598cdd7a14a5ae0 (diff)
downloadbusybox-w32-a93668cc4277b14eaff07fcfdef9693c990ec824.tar.gz
busybox-w32-a93668cc4277b14eaff07fcfdef9693c990ec824.tar.bz2
busybox-w32-a93668cc4277b14eaff07fcfdef9693c990ec824.zip
fdisk: recognize EBBR protective partitions
The MBR partition type 0xF8 is used by the Arm EBBR specification[1] for protective partitions over fixed-location firmware images. [1]: https://github.com/ARM-software/ebbr Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--util-linux/fdisk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c
index 9c393b8fc..20e7d56fa 100644
--- a/util-linux/fdisk.c
+++ b/util-linux/fdisk.c
@@ -355,6 +355,7 @@ static const char *const i386_sys_types[] ALIGN_PTR = {
355 "\xef" "EFI (FAT-12/16/32)", /* Intel EFI System Partition */ 355 "\xef" "EFI (FAT-12/16/32)", /* Intel EFI System Partition */
356 "\xf0" "Linux/PA-RISC boot", /* Linux/PA-RISC boot loader */ 356 "\xf0" "Linux/PA-RISC boot", /* Linux/PA-RISC boot loader */
357 "\xf2" "DOS secondary", /* DOS 3.3+ secondary */ 357 "\xf2" "DOS secondary", /* DOS 3.3+ secondary */
358 "\xf8" "EBBR protective", /* Arm EBBR firmware protective partition */
358 "\xfd" "Linux raid autodetect", /* New (2.2.x) raid partition with 359 "\xfd" "Linux raid autodetect", /* New (2.2.x) raid partition with
359 autodetect using persistent 360 autodetect using persistent
360 superblock */ 361 superblock */