diff options
author | Juan RP <xtraeme@voidlinux.eu> | 2015-05-08 16:35:57 +0200 |
---|---|---|
committer | Juan RP <xtraeme@voidlinux.eu> | 2015-05-08 16:35:57 +0200 |
commit | 037523d1d109020158b942c58ac40ae04ba6cbc7 (patch) | |
tree | 9c6c14f7c84c1c35e0b97fa6e5fd0873cefad6b5 | |
parent | 18fda502454305df8c853f22a752dc38ea25176c (diff) | |
download | hrmpf-037523d1d109020158b942c58ac40ae04ba6cbc7.tar.gz hrmpf-037523d1d109020158b942c58ac40ae04ba6cbc7.tar.xz hrmpf-037523d1d109020158b942c58ac40ae04ba6cbc7.zip |
installer: detect /dev/mmcblkX devices.
-rw-r--r-- | installer.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/installer.sh.in b/installer.sh.in index 9b84c9a..aac3bee 100644 --- a/installer.sh.in +++ b/installer.sh.in @@ -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) |