diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-06-11 19:33:05 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-06-11 19:33:05 +0000 |
commit | 1b1ee5553889e207087539ddafa5dfd4e28bd585 (patch) | |
tree | ba998dfb4fcad03e00a5cbf58e2a0ad648bab6e6 /usr.sbin/sysinstall/wizard.c | |
parent | b1a97daa1e06ab0de3071f979965878fd056292b (diff) | |
download | FreeBSD-src-1b1ee5553889e207087539ddafa5dfd4e28bd585.zip FreeBSD-src-1b1ee5553889e207087539ddafa5dfd4e28bd585.tar.gz |
Merge RELENG_2_0_5 into HEAD
Diffstat (limited to 'usr.sbin/sysinstall/wizard.c')
-rw-r--r-- | usr.sbin/sysinstall/wizard.c | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/usr.sbin/sysinstall/wizard.c b/usr.sbin/sysinstall/wizard.c index 81c2b0f..be6f9ee 100644 --- a/usr.sbin/sysinstall/wizard.c +++ b/usr.sbin/sysinstall/wizard.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: wizard.c,v 1.4 1995/05/20 10:33:14 jkh Exp $ + * $Id: wizard.c,v 1.5.2.1 1995/06/05 02:25:27 jkh Exp $ * */ @@ -165,22 +165,6 @@ slice_wizard(Disk *d) strtol(cmds[3],0,0)); continue; } - if (!strcasecmp(*cmds,"phys") && ncmd == 4) { - d = Set_Phys_Geom(d, - strtol(cmds[1],0,0), - strtol(cmds[2],0,0), - strtol(cmds[3],0,0)); - continue; - } - if (!strcasecmp(*cmds,"collapse")) { - if (cmds[1]) - while (Collapse_Chunk(d, - (struct chunk *)strtol(cmds[1],0,0))) - ; - else - Collapse_Disk(d); - continue; - } if (!strcasecmp(*cmds,"list")) { cp = Disk_Names(); printf("Disks:"); @@ -218,19 +202,6 @@ slice_wizard(Disk *d) Scan_Disk(d); continue; } - if (!strcasecmp(*cmds,"bteasy")) { - Set_Boot_Mgr(d,bteasy17); - continue; - } - if (!strcasecmp(*cmds,"mbr")) { - Set_Boot_Mgr(d,mbr); - continue; - } - if (!strcasecmp(*cmds,"boot")) { - extern u_char boot1[],boot2[]; - Set_Boot_Blocks(d,boot1,boot2); - continue; - } if (!strcasecmp(*cmds,"write")) { printf("Write=%d\n", Write_Disk(d)); @@ -243,15 +214,11 @@ slice_wizard(Disk *d) printf("CMDS:\n"); printf("allfreebsd\t\t"); printf("bios cyl hd sect\n"); - printf("boot\t\t"); - printf("bteasy17\n"); printf("collapse [pointer]\t\t"); printf("create offset size enum subtype flags\n"); printf("subtype(part): swap=1, ffs=7\t\t"); printf("delete pointer\n"); printf("list\t\t"); - printf("mbr\n"); - printf("phys cyl hd sect\t\t"); printf("quit\n"); printf("read [disk]\t\t"); printf("scan\n"); |