From: Michael Tremer Date: Wed, 22 Aug 2012 20:03:02 +0000 (+0200) Subject: mountdest.sh: Fix detection of virtio_blk devices. X-Git-Tag: v2.13-beta1~213 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=32e62ec2e09eb2f9af2c3368d6026061fa317687;p=ipfire-2.x.git mountdest.sh: Fix detection of virtio_blk devices. --- diff --git a/src/install+setup/install/mountdest.sh b/src/install+setup/install/mountdest.sh index 700b8389f6..42e2c76640 100644 --- a/src/install+setup/install/mountdest.sh +++ b/src/install+setup/install/mountdest.sh @@ -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