summaryrefslogtreecommitdiff
path: root/lib/libdisk/create_chunk.c
diff options
context:
space:
mode:
authorYoshihiro Takahashi <nyan@FreeBSD.org>2000-06-05 13:33:39 +0000
committerYoshihiro Takahashi <nyan@FreeBSD.org>2000-06-05 13:33:39 +0000
commit88916759e458ad81072364f008fce154ababa928 (patch)
tree23ff13f96673302764f0a2486fa0b87b08cd5f9e /lib/libdisk/create_chunk.c
parentff1c1afb9f5aed5520463d6fe0d85abfcfabecd2 (diff)
Notes
Diffstat (limited to 'lib/libdisk/create_chunk.c')
-rw-r--r--lib/libdisk/create_chunk.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c
index 52734281266c..2c6ad2d8cd37 100644
--- a/lib/libdisk/create_chunk.c
+++ b/lib/libdisk/create_chunk.c
@@ -278,9 +278,13 @@ MakeDev(struct chunk *c1, const char *path)
msgDebug("MakeDev: Called with %s on path %s\n", p, path);
if (!strcmp(p, "X"))
return 0;
-
+
if (!strncmp(p, "ad", 2))
cmaj = 116, p += 2;
+#ifdef PC98
+ else if (!strncmp(p, "wd", 2))
+ cmaj = 3, p += 2;
+#endif
else if (!strncmp(p, "wfd", 3))
cmaj = 87, p += 3;
else if (!strncmp(p, "afd", 3))