[Bug 1045896] [NEW] Partition Manager fails to see MMC/SD cards
Matteo Croce
rootkit85 at yahoo.it
Tue Sep 4 15:54:45 UTC 2012
Public bug reported:
Partition Manager fails to add SD cards /dev/mmcblk0 to the list of
available devices
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
** Affects: partitionman
Importance: Unknown
Status: Unknown
** Affects: partitionmanager (Ubuntu)
Importance: Undecided
Status: New
** Bug watch added: KDE Bug Tracking System #256964
https://bugs.kde.org/show_bug.cgi?id=256964
** Also affects: partitionman via
https://bugs.kde.org/show_bug.cgi?id=256964
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to partitionmanager in Ubuntu.
https://bugs.launchpad.net/bugs/1045896
Title:
Partition Manager fails to see MMC/SD cards
To manage notifications about this bug go to:
https://bugs.launchpad.net/partitionman/+bug/1045896/+subscriptions
More information about the kubuntu-bugs
mailing list