summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHumm <hummsmith42@gmail.com>2021-04-09 16:11:48 +0200
committerHumm <hummsmith42@gmail.com>2021-04-09 16:11:48 +0200
commitd6ce7969ede52e1b36e57f4d0ee98ca18a380cf4 (patch)
tree8c12c4d80a368ea3c768bffa387c697f41c3a5f5
parentfe1c8010de2d9c7383b6acf661e62579d404773e (diff)
downloadplan9front-d6ce7969ede52e1b36e57f4d0ee98ca18a380cf4.tar.xz
disk/fdisk: add OpenBSD partition type
-rw-r--r--sys/src/cmd/disk/prep/fdisk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/src/cmd/disk/prep/fdisk.c b/sys/src/cmd/disk/prep/fdisk.c
index 073034942..5b6446aec 100644
--- a/sys/src/cmd/disk/prep/fdisk.c
+++ b/sys/src/cmd/disk/prep/fdisk.c
@@ -231,6 +231,7 @@ enum {
TypeAMOEBA = 0x93,
TypeAMOEBABB = 0x94,
TypeBSD386 = 0xA5,
+ TypeOPENBSD = 0xA6,
TypeNETBSD = 0XA9,
TypeBSDI = 0xB7,
TypeBSDISWAP = 0xB8,
@@ -315,6 +316,7 @@ static Type types[256] = {
[TypeAMOEBA] { "AMOEBA", "amoeba" },
[TypeAMOEBABB] { "AMOEBABB", "amoebaboot" },
[TypeBSD386] { "BSD386", "bsd386" },
+ [TypeOPENBSD] { "OPENBSD", "openbsd" },
[TypeNETBSD] { "NETBSD", "netbsd" },
[TypeBSDI] { "BSDI", "bsdi" },
[TypeBSDISWAP] { "BSDISWAP", "bsdiswap" },