summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1997-05-02 03:08:04 +0000
committerimp <imp@FreeBSD.org>1997-05-02 03:08:04 +0000
commitedf3f0421201331e0bf4af4027653f42aaa59acd (patch)
treefd320261f08764db1d35a93d08a33054c1f247a0 /sbin
parentb95380cdf1d0e279849e03ef049b8c6edfabd415 (diff)
downloadFreeBSD-src-edf3f0421201331e0bf4af4027653f42aaa59acd.zip
FreeBSD-src-edf3f0421201331e0bf4af4027653f42aaa59acd.tar.gz
OpenBSD uses ID 0xa6 for its partitions on i386, arc and others that need
a BIOS-like partition table. We now detect this correctly and print the right thing. Obtained from: Value obtained from OpenBSD sources.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/fdisk/fdisk.c1
-rw-r--r--sbin/i386/fdisk/fdisk.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sbin/fdisk/fdisk.c b/sbin/fdisk/fdisk.c
index 38506b5..6f759f8 100644
--- a/sbin/fdisk/fdisk.c
+++ b/sbin/fdisk/fdisk.c
@@ -189,6 +189,7 @@ struct part_type
,{0x93, "Amoeba filesystem"}
,{0x94, "Amoeba bad block table"}
,{0xA5, "FreeBSD/NetBSD/386BSD"}
+ ,{0xA6, "OpenBSD"}
,{0xA7, "NEXTSTEP"}
,{0xB7, "BSDI BSD/386 filesystem"}
,{0xB8, "BSDI BSD/386 swap"}
diff --git a/sbin/i386/fdisk/fdisk.c b/sbin/i386/fdisk/fdisk.c
index 38506b5..6f759f8 100644
--- a/sbin/i386/fdisk/fdisk.c
+++ b/sbin/i386/fdisk/fdisk.c
@@ -189,6 +189,7 @@ struct part_type
,{0x93, "Amoeba filesystem"}
,{0x94, "Amoeba bad block table"}
,{0xA5, "FreeBSD/NetBSD/386BSD"}
+ ,{0xA6, "OpenBSD"}
,{0xA7, "NEXTSTEP"}
,{0xB7, "BSDI BSD/386 filesystem"}
,{0xB8, "BSDI BSD/386 swap"}
OpenPOWER on IntegriCloud