From 32e62ec2e09eb2f9af2c3368d6026061fa317687 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 22 Aug 2012 22:03:02 +0200 Subject: [PATCH] mountdest.sh: Fix detection of virtio_blk devices. --- src/install+setup/install/mountdest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5