mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 22:32:30 +01:00
$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.
This commit is contained in:
parent
81510658b4
commit
57922c2a6c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1781
@ -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
|
||||
;;
|
||||
|
@ -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
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user