summaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/install')
-rwxr-xr-xscripts/install/install-get-partition8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/install/install-get-partition b/scripts/install/install-get-partition
index b17aa563..0ddbd443 100755
--- a/scripts/install/install-get-partition
+++ b/scripts/install/install-get-partition
@@ -195,6 +195,14 @@ check_for_new_raid () {
drives=$(cat /proc/partitions | awk '{ if ($4!="name") { print $4 } }' \
| egrep -v "[0-9]$" | egrep -v "^$")
+ for instdrv in $drives
+ do
+ if mount | grep iso9660 | grep -q $instdrv
+ then
+ drives=${drives//"$instdrv"/}
+ fi
+ done
+
numdrives=`echo $drives | wc -w`
# Need at least two drives for RAID-1. We don't yet have the code