installer: detect /dev/mmcblkX devices.

This commit is contained in:
Juan RP 2015-05-08 16:35:57 +02:00
parent 18fda50245
commit 037523d1d1
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ show_disks() {
fi
done
# SATA/SCSI and Virtual disks (virtio)
for dev in $(ls /sys/block|grep -E '^([sv]|xv)d'); do
for dev in $(ls /sys/block|grep -E '^([sv]|xv)d|mmcblk'); do
echo "/dev/$dev"
size=$(cat /sys/block/$dev/size)
sectorsize=$(cat /sys/block/$dev/queue/hw_sector_size)