mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 06:42:51 +01:00
Fixed missing device name arguments to fdisk commands, this was the
cause of silient failure on scsi disk installs with the new floppies.
This commit is contained in:
parent
a287a3fc73
commit
06c789f803
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=458
@ -286,9 +286,9 @@ if [ "$RUN_FDISK" = "overwrite" ]; then
|
||||
echo y
|
||||
echo y
|
||||
) >>fdisk.script
|
||||
fdisk -u <fdisk.script >/dev/null 2>&1
|
||||
fdisk -u /dev/r${drivename}d <fdisk.script >/dev/null 2>&1
|
||||
elif [ "$RUN_FDISK" ]; then
|
||||
$RUN_FDISK -${opsys_part:-${unused_last_part:-3}} <<-EOF >/dev/null 2>&1
|
||||
$RUN_FDISK -${opsys_part:-${unused_last_part:-3}} /dev/r${drivename}d <<-EOF >/dev/null 2>&1
|
||||
y
|
||||
$cyls_per_disk
|
||||
$tracks_per_cyl
|
||||
|
Loading…
Reference in New Issue
Block a user