shithub: riscv

Download patch

ref: d6ce7969ede52e1b36e57f4d0ee98ca18a380cf4
parent: fe1c8010de2d9c7383b6acf661e62579d404773e
author: Humm <hummsmith42@gmail.com>
date: Fri Apr 9 12:11:48 EDT 2021

disk/fdisk: add OpenBSD partition type

--- a/sys/src/cmd/disk/prep/fdisk.c
+++ b/sys/src/cmd/disk/prep/fdisk.c
@@ -231,6 +231,7 @@
 	TypeAMOEBA	= 0x93,
 	TypeAMOEBABB	= 0x94,
 	TypeBSD386	= 0xA5,
+	TypeOPENBSD	= 0xA6,
 	TypeNETBSD	= 0XA9,
 	TypeBSDI	= 0xB7,
 	TypeBSDISWAP	= 0xB8,
@@ -315,6 +316,7 @@
 	[TypeAMOEBA]		{ "AMOEBA", "amoeba" },
 	[TypeAMOEBABB]		{ "AMOEBABB", "amoebaboot" },
 	[TypeBSD386]		{ "BSD386", "bsd386" },
+	[TypeOPENBSD]		{ "OPENBSD", "openbsd" },
 	[TypeNETBSD]		{ "NETBSD", "netbsd" },
 	[TypeBSDI]		{ "BSDI", "bsdi" },
 	[TypeBSDISWAP]		{ "BSDISWAP", "bsdiswap" },