Comment 4 for bug 719129

Revision history for this message
Phillip Susi (psusi) wrote :

I have looked into it a bit more and it seems that (lib)parted always adds the 'p', just like dmraid. I have sent an email trying to get a discussion going to come to a consensus but it seems to me that the right thing to do is to fix kpartx and gparted to conform to the dmraid and parted behavior of always adding the 'p'. gparted seems more closely related to parted than to multipath-tools, so should prefer its method if all else is equal.

It might be because I'm getting a little drunk at this point, but I can't quite see where in the code the decision is made to add the 'p' or not. DMRaid::make_path_dmraid_compatible() looked about the spot, but I can't quite wrap my head around it.