summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/create_chunk.c
diff options
context:
space:
mode:
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 5273428..2c6ad2d 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))
OpenPOWER on IntegriCloud