seems that the bug lies in scanDevices() in src/core/libparted.cpp:
QFile partitions("/proc/partitions");
if (partitions.open(QIODevice::ReadOnly))
{
QRegExp rxLine("\\s*(\\d+)\\s+(\\d+)\\s+(\\d+)\\s([^0-9]+)\\s+");
that regular expression gets the list of the partitions and remove the trailing numbers, so /dev/mmcblk0 becames /dev/mmcblk which isn't a valid device name
Confirmed
seems that the bug lies in scanDevices() in src/core/ libparted. cpp:
QFile partitions( "/proc/ partitions" ); open(QIODevice: :ReadOnly) ) "\\s*(\ \d+)\\s+ (\\d+)\ \s+(\\d+ )\\s([^ 0-9]+)\ \s+");
if (partitions.
{
QRegExp rxLine(
that regular expression gets the list of the partitions and remove the trailing numbers, so /dev/mmcblk0 becames /dev/mmcblk which isn't a valid device name