summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-01-15 05:29:53 +0000
committerpeter <peter@FreeBSD.org>2001-01-15 05:29:53 +0000
commitb2aacf063dc76b13810852276ffe244d1b13a7ab (patch)
tree272f60c8cd86aa30582221be65626387c6172ab1
parent068a9ad88f4e55a2e766999e2f3322d780a660be (diff)
downloadFreeBSD-src-b2aacf063dc76b13810852276ffe244d1b13a7ab.zip
FreeBSD-src-b2aacf063dc76b13810852276ffe244d1b13a7ab.tar.gz
Don't invite trouble by waving the 'Dangerously Dedicated' (DD) option
at people. This has been sitting in my tree for a few months now. I have spoken with quite a few folks about this and the support for doing this was pretty strong. I dont remember names though, so I cannot share the blame :-(. Note that this does not *remove* DD mode, it just stops waving it at new users. You can still set it via config files etc, and the bootblocks and kernel still support it. You can still use disklabel to make true DD disks.
-rw-r--r--release/sysinstall/disks.c11
-rw-r--r--usr.sbin/sade/disks.c11
-rw-r--r--usr.sbin/sysinstall/disks.c11
3 files changed, 6 insertions, 27 deletions
diff --git a/release/sysinstall/disks.c b/release/sysinstall/disks.c
index ce05ea0..b49cf8b 100644
--- a/release/sysinstall/disks.c
+++ b/release/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);
diff --git a/usr.sbin/sade/disks.c b/usr.sbin/sade/disks.c
index ce05ea0..b49cf8b 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 ce05ea0..b49cf8b 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);
OpenPOWER on IntegriCloud