installer: detect /dev/mmcblkX devices.
This commit is contained in:
parent
18fda50245
commit
037523d1d1
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue