diff options
| author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2000-06-05 13:17:23 +0000 |
|---|---|---|
| committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2000-06-05 13:17:23 +0000 |
| commit | a40915d75031baf61a3aa58a787353060de03d00 (patch) | |
| tree | a7e05bbf126d243e175751002480af902f089ff9 /usr.sbin/sysinstall/wizard.c | |
| parent | 31428684515593537e8b137c8aeeda73e13f987c (diff) | |
Notes
Diffstat (limited to 'usr.sbin/sysinstall/wizard.c')
| -rw-r--r-- | usr.sbin/sysinstall/wizard.c | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/wizard.c b/usr.sbin/sysinstall/wizard.c index 19a63de3a4fbe..a42dc627fd571 100644 --- a/usr.sbin/sysinstall/wizard.c +++ b/usr.sbin/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"); |
