diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-05-08 00:56:28 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-05-08 00:56:28 +0000 |
| commit | 65a27a9ba43662d1c6795239e4d39f059d623a21 (patch) | |
| tree | 40acf5a99a85bbc29e331bd2b8d004b00e6585b0 /usr.sbin/sade/disks.c | |
| parent | f768aaceb426b1d1e426ddbffe3e6411136c3040 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/sade/disks.c')
| -rw-r--r-- | usr.sbin/sade/disks.c | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/usr.sbin/sade/disks.c b/usr.sbin/sade/disks.c index 23648fb951d5..749e6c5089cf 100644 --- a/usr.sbin/sade/disks.c +++ b/usr.sbin/sade/disks.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: disks.c,v 1.7 1995/05/07 22:07:51 jkh Exp $ + * $Id: disks.c,v 1.9 1995/05/08 00:38:02 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -550,6 +550,25 @@ partition_disks(struct disk **disks) msg = MSG_NOT_APPLICABLE; break; + case 'W': + if (!msgYesNo("Are you sure you want to go into Wizard mode?\nThis is an entirely documented feature which you are not\nexpected to understand!")) { + int i; + + clear(); + dialog_clear(); + end_dialog(); + DialogActive = FALSE; + for (i = 0; disks[i]; i++) + slice_wizard(disks[i]); + clear(); + dialog_clear(); + DialogActive = TRUE; + record_fbsd_chunks(disks); + } + else + msg = "A most prudent choice!"; + break; + case 27: /* ESC */ partitioning = FALSE; break; |
