From: Phillip Susi <psusi-3tLf1voIkJTQT0dZR+AlfA@public.gmane.org>
To: device-mapper development
<dm-devel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
Hannes Reinecke <hare-l3A5Bk7waGM@public.gmane.org>,
Curtis Gedak <gedakc-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
serge.hallyn-GeWIH/nMZzLQT0dZR+AlfA@public.gmane.org,
parted-devel-XbBxUvOt3X2LieD7tvxI8l/i77bcL1HB@public.gmane.org,
De
Subject: Re: [dm-devel] What is the deal with the partition separator?
Date: Sun, 20 Feb 2011 00:04:21 -0500 [thread overview]
Message-ID: <4D60A0D5.40904@cfl.rr.com> (raw)
In-Reply-To: <20110217165332.GE28729-FDJ95KluN3Z0klwcnFlA1dvLeJWuRmrY@public.gmane.org>
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 ?)
next prev parent reply other threads:[~2011-02-20 5:04 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-16 3:21 What is the deal with the partition separator? Phillip Susi
2011-02-16 7:38 ` Hannes Reinecke
[not found] ` <4D5B7ED9.20304-l3A5Bk7waGM@public.gmane.org>
2011-02-16 17:19 ` [dm-devel] " Curtis Gedak
[not found] ` <4D5C073F.3020502-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-02-16 19:33 ` Phillip Susi
[not found] ` <4D5C268B.6070507-3tLf1voIkJTQT0dZR+AlfA@public.gmane.org>
2011-02-16 20:18 ` Curtis Gedak
2011-02-16 19:37 ` Phillip Susi
[not found] ` <4D5C2793.1020601-3tLf1voIkJTQT0dZR+AlfA@public.gmane.org>
2011-02-17 7:29 ` Hannes Reinecke
[not found] ` <4D5CCE75.5090202-l3A5Bk7waGM@public.gmane.org>
2011-02-17 14:57 ` Phillip Susi
[not found] ` <4D5D375F.9070106-3tLf1voIkJTQT0dZR+AlfA@public.gmane.org>
2011-02-17 15:13 ` Hannes Reinecke
[not found] ` <4D5D3B34.4000005-l3A5Bk7waGM@public.gmane.org>
2011-02-17 15:13 ` Phillip Susi
2011-02-17 16:53 ` Alasdair G Kergon
2011-02-17 16:58 ` Alasdair G Kergon
[not found] ` <20110217165332.GE28729-FDJ95KluN3Z0klwcnFlA1dvLeJWuRmrY@public.gmane.org>
2011-02-20 5:04 ` Phillip Susi [this message]
2011-02-17 16:54 ` [dm-devel] " Curtis Gedak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D60A0D5.40904@cfl.rr.com \
--to=psusi-3tlf1voikjtqt0dzr+alfa@public.gmane.org \
--cc=dm-devel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=gedakc-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=hare-l3A5Bk7waGM@public.gmane.org \
--cc=parted-devel-XbBxUvOt3X2LieD7tvxI8l/i77bcL1HB@public.gmane.org \
--cc=serge.hallyn-GeWIH/nMZzLQT0dZR+AlfA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox