diff options
author | phk <phk@FreeBSD.org> | 1996-11-27 22:44:43 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1996-11-27 22:44:43 +0000 |
commit | ed9e01dfb5dcdde4d033014058e9fc7df04ca038 (patch) | |
tree | 9fb1cc016b623756583741a10d1daed8ab959595 /lib/libdisk/tst01.c | |
parent | e27f332f23f4413cbe7306cd3449f92797a5df1e (diff) | |
download | FreeBSD-src-ed9e01dfb5dcdde4d033014058e9fc7df04ca038.zip FreeBSD-src-ed9e01dfb5dcdde4d033014058e9fc7df04ca038.tar.gz |
Improve the Dangerously Dedidcated mode a bit. Not much, but a bit better.
Diffstat (limited to 'lib/libdisk/tst01.c')
-rw-r--r-- | lib/libdisk/tst01.c | 26 |
1 files changed, 5 insertions, 21 deletions
diff --git a/lib/libdisk/tst01.c b/lib/libdisk/tst01.c index b9911c4..65b1cf6 100644 --- a/lib/libdisk/tst01.c +++ b/lib/libdisk/tst01.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: tst01.c,v 1.17 1996/03/24 18:55:39 joerg Exp $ + * $Id: tst01.c,v 1.18 1996/07/09 12:17:46 jkh Exp $ * */ @@ -196,33 +196,17 @@ main(int argc, char **argv) All_FreeBSD(d, 1); continue; } - if (!strcasecmp(*cmds,"bios") && ncmd == 4) { - Set_Bios_Geom(d, - strtol(cmds[1],0,0), - strtol(cmds[2],0,0), - strtol(cmds[3],0,0)); + if (!strcasecmp(*cmds,"sanitize")) { + Sanitize_Bios_Geom(d); continue; } -#if 0 - if (!strcasecmp(*cmds,"phys") && ncmd == 4) { - d = Set_Phys_Geom(d, + if (!strcasecmp(*cmds,"bios") && ncmd == 4) { + Set_Bios_Geom(d, strtol(cmds[1],0,0), strtol(cmds[2],0,0), strtol(cmds[3],0,0)); continue; } -#endif -#if 0 - if (!strcasecmp(*cmds,"collapse")) { - if (cmds[1]) - while (Collapse_Chunk(d, - (struct chunk *)strtol(cmds[1],0,0))) - ; - else - Collapse_Disk(d); - continue; - } -#endif if (!strcasecmp(*cmds,"list")) { cp = Disk_Names(); printf("Disks:"); |