aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2001-01-15 05:29:53 +0000
committerPeter Wemm <peter@FreeBSD.org>2001-01-15 05:29:53 +0000
commitf357eb98002e57609405ba5eeab0717813460e19 (patch)
treef567a7517749205554a128e7268e08163c328d5f /usr.sbin
parent194b08ffc3133eb04480ef298dffa40af5139219 (diff)
Notes
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/sade/disks.c11
-rw-r--r--usr.sbin/sysinstall/disks.c11
2 files changed, 4 insertions, 18 deletions
diff --git a/usr.sbin/sade/disks.c b/usr.sbin/sade/disks.c
index ce05ea0c6b17..b49cf8b1a32d 100644
--- a/usr.sbin/sade/disks.c
+++ b/usr.sbin/sade/disks.c
@@ -368,15 +368,8 @@ diskPartition(Device *dev)
cp = variable_get(VAR_DEDICATE_DISK);
if (cp && !strcasecmp(cp, "always"))
rv = 1;
- else {
- rv = msgYesNo("Do you want to do this with a true partition entry\n"
- "so as to remain cooperative with any future possible\n"
- "operating systems on the drive(s)?\n"
- "(See also the section about ``dangerously dedicated''\n"
- "disks in the FreeBSD FAQ.)");
- if (rv == -1)
- rv = 0;
- }
+ else
+ rv = 0;
#endif
All_FreeBSD(d, rv);
variable_set2(DISK_PARTITIONED, "yes", 0);
diff --git a/usr.sbin/sysinstall/disks.c b/usr.sbin/sysinstall/disks.c
index ce05ea0c6b17..b49cf8b1a32d 100644
--- a/usr.sbin/sysinstall/disks.c
+++ b/usr.sbin/sysinstall/disks.c
@@ -368,15 +368,8 @@ diskPartition(Device *dev)
cp = variable_get(VAR_DEDICATE_DISK);
if (cp && !strcasecmp(cp, "always"))
rv = 1;
- else {
- rv = msgYesNo("Do you want to do this with a true partition entry\n"
- "so as to remain cooperative with any future possible\n"
- "operating systems on the drive(s)?\n"
- "(See also the section about ``dangerously dedicated''\n"
- "disks in the FreeBSD FAQ.)");
- if (rv == -1)
- rv = 0;
- }
+ else
+ rv = 0;
#endif
All_FreeBSD(d, rv);
variable_set2(DISK_PARTITIONED, "yes", 0);