* [PATCH] libfdisk: (MBR) recognize EBBR protective partitions
@ 2021-12-03 15:59 Vincent Stehlé
2022-02-07 18:14 ` Vincent Stehlé
0 siblings, 1 reply; 3+ messages in thread
From: Vincent Stehlé @ 2021-12-03 15:59 UTC (permalink / raw)
To: util-linux; +Cc: Vincent Stehlé
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 | 1 +
include/pt-mbr.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/include/pt-mbr-partnames.h b/include/pt-mbr-partnames.h
index 19a345029..9304793db 100644
--- a/include/pt-mbr-partnames.h
+++ b/include/pt-mbr-partnames.h
@@ -101,6 +101,7 @@
{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
diff --git a/include/pt-mbr.h b/include/pt-mbr.h
index 0f014cd88..ff658f346 100644
--- a/include/pt-mbr.h
+++ b/include/pt-mbr.h
@@ -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 */
--
2.33.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] libfdisk: (MBR) recognize EBBR protective partitions
2021-12-03 15:59 [PATCH] libfdisk: (MBR) recognize EBBR protective partitions Vincent Stehlé
@ 2022-02-07 18:14 ` Vincent Stehlé
2022-02-07 21:44 ` Karel Zak
0 siblings, 1 reply; 3+ messages in thread
From: Vincent Stehlé @ 2022-02-07 18:14 UTC (permalink / raw)
To: util-linux
Hi,
Is there any concern with this patch[1] adding support for EBBR protective
partitions to fdisk, please?
I have verified that it does still apply to the master branch of util-linux.
Do not hesitate to let me know if changes need to be made.
If that can be of any help, a similar change[2] has now been accepted in
busybox.
Best regards,
--
Vincent Stehlé
System Architect - Arm
[1]: https://marc.info/?l=util-linux-ng&m=163854721714647&w=2
[2]: https://git.busybox.net/busybox/commit/?id=a93668cc4277b14eaff07fcfdef9693c990ec824
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] libfdisk: (MBR) recognize EBBR protective partitions
2022-02-07 18:14 ` Vincent Stehlé
@ 2022-02-07 21:44 ` Karel Zak
0 siblings, 0 replies; 3+ messages in thread
From: Karel Zak @ 2022-02-07 21:44 UTC (permalink / raw)
To: Vincent Stehlé; +Cc: util-linux
On Mon, Feb 07, 2022 at 07:14:50PM +0100, Vincent Stehlé wrote:
> Is there any concern with this patch[1] adding support for EBBR protective
> partitions to fdisk, please?
>
> I have verified that it does still apply to the master branch of util-linux.
> Do not hesitate to let me know if changes need to be made.
The patch is fine. I've overlooked your patch in my INBOX :-( Sorry.
Applied now.
Thanks!
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-02-07 21:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-03 15:59 [PATCH] libfdisk: (MBR) recognize EBBR protective partitions Vincent Stehlé
2022-02-07 18:14 ` Vincent Stehlé
2022-02-07 21:44 ` Karel Zak
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.