summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/libs/lib-blockdevices-filesystems.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/libs/lib-blockdevices-filesystems.sh b/src/core/libs/lib-blockdevices-filesystems.sh
index 85f846c..c0fe3ad 100644
--- a/src/core/libs/lib-blockdevices-filesystems.sh
+++ b/src/core/libs/lib-blockdevices-filesystems.sh
@@ -141,8 +141,8 @@ finddisks() {
[ "$2" ] && echo $2
fi
done
- #scsi/sata devices
- for dev in $(ls | egrep '^sd'); do
+ #scsi/sata devices, and virtio blockdevices (/dev/vd*)
+ for dev in $(ls | egrep '^[sv]d'); do
# TODO: what is the significance of 5? ASKDEV
if ! [ "$(cat $dev/device/type)" = "5" ]; then
echo -n "/dev/$dev$3"