kpartx -d fails to delete partition mapping for long filenames

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Using kpartx (version: multipath-tools (0.4.9-3ubuntu5.1) precise, as provided in Ubuntu 12.04.3 LTS 64 Bit), I noticed the following problem:
 
While it is possible to add a partition mapping for a file <name> with a length of more than 64 characters (kpartx -av <name>), it appears to be impossible to delete the created mapping using the same filename (kpartx -d <name>). For filenames longer than 64 characters, the mapping is silently _not_ removed: No error message is issued and the return code is 0.

(Using the correct loop device <loop>, the mapping can still be removed (kaprtx -d <loop>). Additionally, in this case, the implicitly allocated loop device has to be removed explicitly (losetup -d <loop>).)

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel





[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux