summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1994-06-29 06:46:02 +0000
committerrgrimes <rgrimes@FreeBSD.org>1994-06-29 06:46:02 +0000
commit355d3febafbacfda273b42b90a9e50532cbbca76 (patch)
tree43b98f222e8735bfa43cbb4207920cbbd70a5ba3
parent199756725f6993afb8a564c12adbf66bec4d9761 (diff)
downloadFreeBSD-src-355d3febafbacfda273b42b90a9e50532cbbca76.zip
FreeBSD-src-355d3febafbacfda273b42b90a9e50532cbbca76.tar.gz
$rotdelay is now initialized to "-d 0 -n 1" and no longer changed based
upon disk type. In far more cases than not this is the optimal setting for any disk drive made after 1990. This now means all installs will have the disks newfs'ed with either: newfs -b 8192 -f 1024 -d 0 -n 1 or newfs -n 4096 -f 512 -d 0 -n 1 depending on what the user chooses for the blocking factor.
-rw-r--r--etc/etc.i386/cdinst1.install6
-rwxr-xr-xetc/etc.i386/inst1.install4
2 files changed, 3 insertions, 7 deletions
diff --git a/etc/etc.i386/cdinst1.install b/etc/etc.i386/cdinst1.install
index 87ca92c..5d6f0c9 100644
--- a/etc/etc.i386/cdinst1.install
+++ b/etc/etc.i386/cdinst1.install
@@ -1,7 +1,7 @@
#!/bin/sh
# cd install floppy disk /install script
#
-# $Id: cdinst1.install,v 1.4 1994/06/20 06:05:15 jkh Exp $
+# $Id: cdinst1.install,v 1.5 1994/06/28 05:56:11 jkh Exp $
# ${OPSYSTEM}, the mounting of the cdrom drive, and the path are all
# setup by .profile
@@ -432,7 +432,7 @@ sync
verified_install=""
while [ ! "$verified_install" ]; do # Begin of Big Loop
-rotdelay=""
+rotdelay="-d 0 -n 1"
drivename=wd0
drivetype=wd
sect_fwd=""
@@ -459,13 +459,11 @@ e*|E*|st*|ST*)
;;
i*|I*)
type=ST506
- rotdelay="-d 0"
;;
sc*|SC*)
drivename=sd0
drivetype=sd
type=SCSI
- rotdelay="-d 0"
DEFSECT=32
DEFHEAD=64
;;
diff --git a/etc/etc.i386/inst1.install b/etc/etc.i386/inst1.install
index da8b928..e394117 100755
--- a/etc/etc.i386/inst1.install
+++ b/etc/etc.i386/inst1.install
@@ -438,7 +438,7 @@ sync
verified_install=""
while [ ! "$verified_install" ]; do # Begin of Big Loop
-rotdelay=""
+rotdelay="-d 0 -n 1"
drivename=wd0
drivetype=wd
sect_fwd=""
@@ -465,13 +465,11 @@ e*|E*|st*|ST*)
;;
i*|I*)
type=ST506
- rotdelay="-d 0"
;;
sc*|SC*)
drivename=sd0
drivetype=sd
type=SCSI
- rotdelay="-d 0"
DEFSECT=32
DEFHEAD=64
;;
OpenPOWER on IntegriCloud