aboutsummaryrefslogtreecommitdiff
path: root/release/sysinstall/wizard.c
diff options
context:
space:
mode:
Diffstat (limited to 'release/sysinstall/wizard.c')
-rw-r--r--release/sysinstall/wizard.c19
1 files changed, 18 insertions, 1 deletions
diff --git a/release/sysinstall/wizard.c b/release/sysinstall/wizard.c
index 19a63de3a4fb..a42dc627fd57 100644
--- a/release/sysinstall/wizard.c
+++ b/release/sysinstall/wizard.c
@@ -125,8 +125,20 @@ slice_wizard(Disk *d)
free(cp);
continue;
}
+#ifdef PC98
+ if (!strcasecmp(*cmds,"create") && ncmd == 7) {
+ printf("Create=%d\n",
+ Create_Chunk(d,
+ strtol(cmds[1],0,0),
+ strtol(cmds[2],0,0),
+ strtol(cmds[3],0,0),
+ strtol(cmds[4],0,0),
+ strtol(cmds[5],0,0),
+ cmds[6]));
+ continue;
+ }
+#else
if (!strcasecmp(*cmds,"create") && ncmd == 6) {
-
printf("Create=%d\n",
Create_Chunk(d,
strtol(cmds[1],0,0),
@@ -136,6 +148,7 @@ slice_wizard(Disk *d)
strtol(cmds[5],0,0)));
continue;
}
+#endif
if (!strcasecmp(*cmds,"read")) {
db = d;
if (ncmd > 1)
@@ -166,7 +179,11 @@ slice_wizard(Disk *d)
printf("dedicate\t\t");
printf("bios cyl hd sect\n");
printf("collapse [pointer]\t\t");
+#ifdef PC98
+ printf("create offset size enum subtype flags name\n");
+#else
printf("create offset size enum subtype flags\n");
+#endif
printf("subtype(part): swap=1, ffs=7\t\t");
printf("delete pointer\n");
printf("list\t\t");