[Bug 847580] New: GNU Parted (libparted) returns wrong device names for mmcblk devices (eg: mmcblk0_part1 instead of mmcblk0p1 as it should be)
https://bugzilla.novell.com/show_bug.cgi?id=847580 https://bugzilla.novell.com/show_bug.cgi?id=847580#c0 Summary: GNU Parted (libparted) returns wrong device names for mmcblk devices (eg: mmcblk0_part1 instead of mmcblk0p1 as it should be) Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: openSUSE 12.2 Status: NEW Severity: Minor Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: andreas.stoffler@yahoo.de QAContact: adrian@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 This annoying issue exists since I begin to use openSUSE Linux, the first version was 11.4. The main problem exists in the libparted which is provided by the openSUSE Build Service in the official repos. There is a .patch file to fix this issue. But this here is rather a request, than a bug report. First I provide the relevant links: https://build.opensuse.org/package/show?project=openSUSE%3A12.2&package=parted https://build.opensuse.org/package/view_file/openSUSE:12.2/parted/fix-dm-par... It seems, that this patch is not applied. Here are some more examples what exactly happens: /dev -> and what libparted returns mmcblk0p1 -> mmcblk0_part1 mmcblk0p2 -> mmcblk0_part2 you can reproduce an endless list here; NOTE: this only happens for mmcblk devices. Not to the annoying thins: when you want to use tools like GParted (which uses libparted), than GParted cannot handle the device, 'cause of bad device names, which doesn't exists. a workaround is a symbolic link points to the REAL device name. I developed a small tool in c++ to automatically create those symbolic links, but this is annoying and this patch should be applied immediately. The developer of GParted Curtis and me had a conversation about this issue, he won't add this openSUSE specific behavior to fix device names. Reproducible: Always Steps to Reproduce: 1. Connect a device, which appears as mmcblk with at least one partition 2. Open applications which uses libparted from openSUSE repos. 3. Get mmcblk0_part1 instead of mmcblk0p1 which is the correct one. Actual Results: Get annoyed 'cause you need to create symbolic links to continue with your work. Expected Results: Return correct device names. A patch already exists, but is not applied by default at all. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=847580
https://bugzilla.novell.com/show_bug.cgi?id=847580#c
Xiyuan Liu
https://bugzilla.novell.com/show_bug.cgi?id=847580
https://bugzilla.novell.com/show_bug.cgi?id=847580#c
Petr Uzel
https://bugzilla.novell.com/show_bug.cgi?id=847580
https://bugzilla.novell.com/show_bug.cgi?id=847580#c
Petr Uzel
https://bugzilla.novell.com/show_bug.cgi?id=847580
https://bugzilla.novell.com/show_bug.cgi?id=847580#c1
Petr Uzel
https://bugzilla.novell.com/show_bug.cgi?id=847580
https://bugzilla.novell.com/show_bug.cgi?id=847580#c2
--- Comment #2 from aaa bbb
The patch is applied, but does not cover mmcblk devices.
I can modify it and send you an RPM for testing - which architecture/openSUSE version should it be built for?
x86_64 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=847580
https://bugzilla.novell.com/show_bug.cgi?id=847580#c3
--- Comment #3 from aaa bbb
(In reply to comment #1)
The patch is applied, but does not cover mmcblk devices.
I can modify it and send you an RPM for testing - which architecture/openSUSE version should it be built for?
x86_64 / openSUSE 12.2
sorry for double post -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=847580
https://bugzilla.novell.com/show_bug.cgi?id=847580#c4
--- Comment #4 from Petr Uzel
https://bugzilla.novell.com/show_bug.cgi?id=847580
https://bugzilla.novell.com/show_bug.cgi?id=847580#c5
--- Comment #5 from aaa bbb
Please test the RPMs from http://download.opensuse.org/repositories/home:/puzel:/branches:/openSUSE:/1...
and let me know the result. Thanks in advance.
now I get mmcblk01 mmcblk02 mmcblk03, etc. in GParted the p is missing (eg: mmcblk0p1) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=847580
https://bugzilla.novell.com/show_bug.cgi?id=847580#c6
--- Comment #6 from Petr Uzel
https://bugzilla.novell.com/show_bug.cgi?id=847580
https://bugzilla.novell.com/show_bug.cgi?id=847580#c7
aaa bbb
Oops, stupid mistake, sorry.
Please try again with new RPMs from the same location as before. TIA
Now its working. I get correct device names from parted. Fixed! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=847580
https://bugzilla.novell.com/show_bug.cgi?id=847580#c8
Petr Uzel
https://bugzilla.novell.com/show_bug.cgi?id=847580
https://bugzilla.novell.com/show_bug.cgi?id=847580#c
Petr Uzel
https://bugzilla.novell.com/show_bug.cgi?id=847580
https://bugzilla.novell.com/show_bug.cgi?id=847580#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=847580
https://bugzilla.novell.com/show_bug.cgi?id=847580#c10
--- Comment #10 from Benjamin Brunner
https://bugzilla.novell.com/show_bug.cgi?id=847580
https://bugzilla.novell.com/show_bug.cgi?id=847580#c11
--- Comment #11 from Petr Uzel
https://bugzilla.novell.com/show_bug.cgi?id=847580
https://bugzilla.novell.com/show_bug.cgi?id=847580#c12
--- Comment #12 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=847580
https://bugzilla.novell.com/show_bug.cgi?id=847580#c13
Petr Uzel
Petr, could you submit the fixed packages for openSUSE 12.2, 12.3 and 13.1 please? Thanks!
Submitted as SRs: 212455, 212456 and 212457 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=847580
https://bugzilla.novell.com/show_bug.cgi?id=847580#c14
--- Comment #14 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=847580
https://bugzilla.novell.com/show_bug.cgi?id=847580#c15
--- Comment #15 from Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=847580
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=847580
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=847580
--- Comment #18 from Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=847580
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com