https://bugzilla.novell.com/show_bug.cgi?id=436428 Summary: kpartx is limited to files with 63 chars filename length Product: openSUSE 11.1 Version: Factory Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: hare@novell.com ReportedBy: pzimmer@novell.com QAContact: qa@suse.de Found By: Component Test I tried kpartx on files where the complete path is larger than 63 characters. Overview over the problem: Kpartx has a method find_loop_by_file where the filename is given by which the corresponding loop-device should be found. It uses the lo_name field from the loop_info struct (from linux/loop.h) for each existing loop device for this task. The problem is that in linux/loop.h the lo_name field is limited to 64 chars. If the filename is longer, it is truncated at about 61 chars and some dots are added. This results in the following: If I have an image file where I want to use kpartx and the absolute path is more than 63 chars long, it does not find the corresponding loop device and therefor can not remove the mapped image with kpartx -d. As possible solution I would propose to also allow the direct loop file as parameter to kpartx -d. -- 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.