summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2021-06-12 18:35:38 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2021-06-12 18:35:38 +0000
commitcfc75a0d4e6995526756f6c77a60f12c256cc673 (patch)
tree68a3f871e4260da3500d32eef976f7f20b6160eb /sbin
parent955798f48eec7a2a6a1e7fcf3d5c8aa3a2f73f5d (diff)
Recognize "HiFive! FSBL" and "HiFive! BBL" GPT partitions.
Seen on SiFive Unmatched stock image provided by mlarkin@.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/fdisk/part.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/fdisk/part.c b/sbin/fdisk/part.c
index 1ea256f228e..01daf776f61 100644
--- a/sbin/fdisk/part.c
+++ b/sbin/fdisk/part.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: part.c,v 1.82 2021/06/10 16:09:17 krw Exp $ */
+/* $OpenBSD: part.c,v 1.83 2021/06/12 18:35:37 krw Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -118,6 +118,8 @@ static const struct part_type {
{ 0xB0, "APFS ", "7c3457ef-0000-11aa-aa11-00306543ecac" },
{ 0xB1, "APFS ISC ", "69646961-6700-11aa-aa11-00306543ecac" },
{ 0xB2, "APFS Recovry", "52637672-7900-11aa-aa11-00306543ecac" },
+ { 0xB3, "HiFive! FSBL", "5b193300-fc78-40cd-8002-e86c45580b47" },
+ { 0xB4, "HiFive! BBL ", "2e54b353-1271-4842-806f-e436d6af6985" },
{ 0xB7, "BSDI filesy*"}, /* BSDI BSD/386 filesystem */
{ 0xB8, "BSDI swap "}, /* BSDI BSD/386 swap */
{ 0xBF, "Solaris ", "6a85cf4d-1dd2-11b2-99a6-080020736631" },