Eddie Williams a écrit :
This behaviour mimics the kernel partition naming policies : /dev/sd? partitions have no separator, while /dev/cciss/c0d0 have one, for example.I see it is kpartx that is defaulting to the 'p' as the delimiter (in the set_delimiter function) when the uuid ends with a digit and no delimiter when the uuid ends with a character. Wouldn't it be better to always use the same delimiter by default? As it stands now one will not be able to determine that a node is apartition versus a full device by just looking at the name.
kpartx once meant to be a true alternative to in-kernel partition handling, thus cared about that naming compatibility.
I'm inclined to leave it that way, if not only to discourage people to partition multipathed devices :)
Regards, cvaroqui