summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Stehlé2021-12-13 10:07:18 +0100
committerDenys Vlasenko2022-01-06 10:55:53 +0100
commita93668cc4277b14eaff07fcfdef9693c990ec824 (patch)
tree3568a9eb762859aca36c09984aff7b4ccfb8b1b0
parent6062c0d19bc201cbeb61b8875598cdd7a14a5ae0 (diff)
downloadbusybox-a93668cc4277b14eaff07fcfdef9693c990ec824.zip
busybox-a93668cc4277b14eaff07fcfdef9693c990ec824.tar.gz
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 9c393b8..20e7d56 100644
--- a/util-linux/fdisk.c
+++ b/util-linux/fdisk.c
@@ -355,6 +355,7 @@ static const char *const i386_sys_types[] ALIGN_PTR = {
"\xef" "EFI (FAT-12/16/32)", /* Intel EFI System Partition */
"\xf0" "Linux/PA-RISC boot", /* Linux/PA-RISC boot loader */
"\xf2" "DOS secondary", /* DOS 3.3+ secondary */
+ "\xf8" "EBBR protective", /* Arm EBBR firmware protective partition */
"\xfd" "Linux raid autodetect", /* New (2.2.x) raid partition with
autodetect using persistent
superblock */