summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/disks.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-04-25 17:31:27 +0000
committerjkh <jkh@FreeBSD.org>1996-04-25 17:31:27 +0000
commit553bed49c44aafc3cba97d0dd96e45ce7bcca3b6 (patch)
treeeed63e3f1a52745b1f4775b9da1bfc44ade22ebb /release/sysinstall/disks.c
parentbd013f51f73fe7618393e72f501e20ecd6f63f56 (diff)
downloadFreeBSD-src-553bed49c44aafc3cba97d0dd96e45ce7bcca3b6.zip
FreeBSD-src-553bed49c44aafc3cba97d0dd96e45ce7bcca3b6.tar.gz
Quite a few changes:
1. Fix the last display bugs (I hope) by use of dialog rebuilds at stategic points. 2. Clean up the distributions menus so that everybody (that's reasonable) has All and Clear options for setting/clearing things en-masse. 3. Various attempts at display optimization. 4. Change the wording of the `Don't use Write!' dialogs to make them more explicitly define when and when not to use the option.
Diffstat (limited to 'release/sysinstall/disks.c')
-rw-r--r--release/sysinstall/disks.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/release/sysinstall/disks.c b/release/sysinstall/disks.c
index 54f0fc6..7208cd1 100644
--- a/release/sysinstall/disks.c
+++ b/release/sysinstall/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.40 1996/04/13 13:31:28 jkh Exp $
+ * $Id: disks.c,v 1.41 1996/04/23 01:29:14 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -336,12 +336,11 @@ diskPartition(Device *dev, Disk *d)
break;
case 'W':
- if (!msgYesNo("Are you SURE you want to write this now? You do also\n"
- "have the option of not modifying the disk until *all*\n"
- "configuration information has been entered, at which\n"
- "point you can do it all at once. If you're unsure, then\n"
- "PLEASE CHOOSE NO at this dialog! This option is DANGEROUS\n"
- "if you do not know EXACTLY what you are doing!")) {
+ if (!msgYesNo("WARNING: This should only be used for modifying an\n"
+ "EXISTING installation - DO NOT USE this option if you\n"
+ "are installing FreeBSD for the first time! This is not\n"
+ "an option for use during the standard install.\n\n"
+ "Are you absolutely sure you want to do this now?")) {
variable_set2(DISK_PARTITIONED, "yes");
clear();
@@ -469,6 +468,7 @@ diskPartitionEditor(dialogMenuItem *self)
i = dmenuOpenSimple(menu) ? DITEM_SUCCESS : DITEM_FAILURE;
free(menu);
}
+ i = i | DITEM_RESTORE | DITEM_RECREATE;
}
return i;
}
OpenPOWER on IntegriCloud