[parted-devel] [dm-devel] What is the deal with the partition separator?
Phillip Susi
psusi at cfl.rr.com
Sun Feb 20 05:04:21 UTC 2011
Oops, didn't see this until today because this darn mailing list mangles
the reply-to header. *shakes fist*
Currently all of the tools check by trying to open the expected device
name. If they have different ideas of what that is, the check fails to
find the existing instance. It is looking to me like the way to fix
this is to patch dmraid and libparted so that they conform with the
kpartx and "linux since the dawn of time" method of only adding the 'p'
if the previous character is a digit.
On 02/17/2011 11:53 AM, Alasdair G Kergon wrote:
> Partitions should be created only once, in one place.
>
> If a second instance of anything tries to create them too, it should,
> by default, detect that they are already there and not proceed.
>
> You should not be able to run kpartx twice on the same underlying
> disk with different delimiters without some sort of 'force' option.
>
> (Check by querying /sys/.../holders ?)
More information about the parted-devel
mailing list