Some PCs and laptops have a built-in SD card reader attached through a PCI express interface, not USB, which present the devices & partitions through the mmc sub-system (mmcblkXpY).
Thus, they are not detected by the script.
Your settings
OS/version: Solus 3
Version: 5c363b8
Other details:
Instead of detecting lsblk -S, use lsblk -I 8,179 instead (uppercase i followed by device types).
Since the partition naming scheme will be different (instead of ${devicePath}${i} => sdb7), it is necessary to add a special case for addressing a partition, e.g. mmcblk0p7
What happens?
Some PCs and laptops have a built-in SD card reader attached through a PCI express interface, not USB, which present the devices & partitions through the mmc sub-system (mmcblkXpY). Thus, they are not detected by the script.
Your settings
Other details:
Instead of detecting lsblk -S, use
lsblk -I 8,179
instead (uppercase i followed by device types).Since the partition naming scheme will be different (instead of
${devicePath}${i}
=> sdb7), it is necessary to add a special case for addressing a partition, e.g.mmcblk0p7
See https://stackoverflow.com/a/2172367 for pattern matching in Bash.