]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/install+setup/install/mountdest.sh
Merge branch 'kernel-update' of ssh://git.ipfire.org/pub/git/ipfire-2.x into kernel...
[ipfire-2.x.git] / src / install+setup / install / mountdest.sh
index 700b8389f6a8b28f799f125a4a8de51e009b174c..42e2c76640000c434a2cb47b1ca1098eeb468572 100644 (file)
@@ -23,7 +23,7 @@ echo "Scanning for possible destination drives"
 
 # scan sd?
 echo "--> sd?"
-for DEVICE in `find /sys/block/* -maxdepth 0 -name sd* -exec basename {} \; | sort | uniq`
+for DEVICE in `find /sys/block/* -maxdepth 0 -name sd* -or -name vd* -exec basename {} \; | sort | uniq`
 do
                if [ "$(grep ${DEVICE} /proc/partitions)" = "" ]; then
                        umount /harddisk 2> /dev/null