From: Hannes Reinecke <hare-l3A5Bk7waGM@public.gmane.org>
To: Phillip Susi <psusi-3tLf1voIkJTQT0dZR+AlfA@public.gmane.org>
Cc: device-mapper development
<dm-devel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
serge.hallyn-GeWIH/nMZzLQT0dZR+AlfA@public.gmane.org,
parted-devel-XbBxUvOt3X2LieD7tvxI8l/i77bcL1HB@public.gmane.org,
Debian LVM Team
<pkg-lvm-maintainers-XbBxUvOt3X2LieD7tvxI8l/i77bcL1HB@public.gmane.org>
Subject: Re: [dm-devel] What is the deal with the partition separator?
Date: Thu, 17 Feb 2011 16:13:56 +0100 [thread overview]
Message-ID: <4D5D3B34.4000005@suse.de> (raw)
In-Reply-To: <4D5D375F.9070106-3tLf1voIkJTQT0dZR+AlfA@public.gmane.org>
On 02/17/2011 03:57 PM, Phillip Susi wrote:
> 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.
>
Which is why you should call 'dmraid' with '-p' to avoid having it
creating partitions.
We'll be getting another event via udev, which then trigger kpartx
to create the partitons there.
> 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?
The main problem here is that each and everyone has their own
preferred way of naming.
Most tend to stick to the linux model (occasionally inserting a
'p'), some tend to use persistent device names, some tend to use
device-mapper / LVM and do away with all partitions etc.
So whichever way you proceed, you should avoid using a naming scheme
which resembles the linux one.
Otherwise inevitably someone doesn't get it and starts complaining,
one way of the other.
Which was the reason why I chose the '-part' naming scheme; this way
it's pretty obvious that a new naming scheme is used. So any
objections for it not being compliant to the linux naming scheme are
immediately voided.
Cheers,
Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare-l3A5Bk7waGM@public.gmane.org +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
next prev parent reply other threads:[~2011-02-17 15:13 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 [this message]
[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 ` [dm-devel] " Phillip Susi
2011-02-17 16:54 ` 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=4D5D3B34.4000005@suse.de \
--to=hare-l3a5bk7wagm@public.gmane.org \
--cc=dm-devel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=parted-devel-XbBxUvOt3X2LieD7tvxI8l/i77bcL1HB@public.gmane.org \
--cc=pkg-lvm-maintainers-XbBxUvOt3X2LieD7tvxI8l/i77bcL1HB@public.gmane.org \
--cc=psusi-3tLf1voIkJTQT0dZR+AlfA@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