summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1998-02-19 20:48:07 +0000
committerderaadt <deraadt@openbsd.org>1998-02-19 20:48:07 +0000
commit58fe3b3a3dc75163bc06ce6db0651bda4bfaadfa (patch)
tree2c52e1ffa87b094f148198cddc4783c6c206e29f
parentdeal with partition type renamed (diff)
downloadwireguard-openbsd-58fe3b3a3dc75163bc06ce6db0651bda4bfaadfa.tar.xz
wireguard-openbsd-58fe3b3a3dc75163bc06ce6db0651bda4bfaadfa.zip
new netbsd partition type
-rw-r--r--sbin/fdisk/fdisk.84
-rw-r--r--sbin/fdisk/part.c5
2 files changed, 5 insertions, 4 deletions
diff --git a/sbin/fdisk/fdisk.8 b/sbin/fdisk/fdisk.8
index 15f63e2119e..0ef7ef00201 100644
--- a/sbin/fdisk/fdisk.8
+++ b/sbin/fdisk/fdisk.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fdisk.8,v 1.12 1998/01/19 15:56:33 weingart Exp $
+.\" $OpenBSD: fdisk.8,v 1.13 1998/02/19 20:48:07 deraadt Exp $
.\"
.\" Copyright (c) 1997 Tobias Weingartner
.\" All rights reserved.
@@ -101,7 +101,7 @@ System identifier.
.oS
reserves the
magic number 166 decimal (A6 in hex).
-If no 166 partition is found, it will use an older 386BSD partition
+If no 166 partition is found, it will use an older FreeBSD partition
(with a magic number of 165 or A5 in hex).
.It Em "cyl/hd/sec"
These fields provide the starting and ending address of the partition
diff --git a/sbin/fdisk/part.c b/sbin/fdisk/part.c
index 2aa687dea09..53d223d4769 100644
--- a/sbin/fdisk/part.c
+++ b/sbin/fdisk/part.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: part.c,v 1.7 1997/10/21 22:49:34 provos Exp $ */
+/* $OpenBSD: part.c,v 1.8 1998/02/19 20:48:08 deraadt Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -81,9 +81,10 @@ static struct part_type {
{ 0x83, "Linux files*", "Linux filesystem"},
{ 0x93, "Amoeba file*", "Amoeba filesystem"},
{ 0x94, "Amoeba BBT ", "Amoeba bad block table"},
- { 0xA5, "Free/Net BSD", "386BSD/FreeBSD/NetBSD"},
+ { 0xA5, "FreeBSD", "FreeBSD"},
{ 0xA6, "OpenBSD ", "OpenBSD"},
{ 0xA7, "NEXTSTEP ", "NEXTSTEP"},
+ { 0xA9, "NetBSD", "NetBSD"},
{ 0xB7, "BSDI filesy*", "BSDI BSD/386 filesystem"},
{ 0xB8, "BSDI swap ", "BSDI BSD/386 swap"},
{ 0xDB, "CPM/C.DOS/C*", "Concurrent CPM or C.DOS or CTOS"},