[dm-devel] What is the deal with the partition separator?

Phillip Susi psusi at cfl.rr.com
Thu Feb 17 14:57:35 UTC 2011


On 2/17/2011 2:29 AM, Hannes Reinecke wrote:
> /dev/mapper contains the names of the device-mapper devices
> themselves; for those I don't have any preference.
> kpartx as called from udev is using the '-part' suffix here, too.

Right; it needs to not do that.  Everyone needs to use the same naming
scheme.  When you change naming schemes, you get duplicate devices.  If
dmraid creates them with 'p' and then udev runs kpartx and tells it to
use '-part', then you get two partition devices, which will cause all
kinds of hell.

Is there any harm done by adding the 'p' even when the base name does
not end in a digit?  Is there any good reason to?



More information about the pkg-lvm-maintainers mailing list