From d6ce7969ede52e1b36e57f4d0ee98ca18a380cf4 Mon Sep 17 00:00:00 2001 From: Humm Date: Fri, 9 Apr 2021 16:11:48 +0200 Subject: [PATCH] disk/fdisk: add OpenBSD partition type --- sys/src/cmd/disk/prep/fdisk.c | 2 ++ 1 file changed, 2 insertions(+) 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" },