[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] What is the deal with the partition separator?
- From: Phillip Susi <psusi cfl rr com>
- To: Hannes Reinecke <hare suse de>
- Cc: Curtis Gedak <gedakc gmail com>, device-mapper development <dm-devel redhat com>, serge hallyn ubuntu com, parted-devel lists alioth debian org, Debian LVM Team <pkg-lvm-maintainers lists alioth debian org>
- Subject: Re: [dm-devel] What is the deal with the partition separator?
- Date: Wed, 16 Feb 2011 14:37:55 -0500
On 2/16/2011 2:38 AM, Hannes Reinecke wrote:
> The linux scheme since the dawn of time is to
> a) Add the partition number to the device node name
> b) If last letter of the device node name is a number, insert a 'p'
> between device node name and partition number
Since the dawn of time? Before device mapper it wasn't possible to have
a disk device name ending in a digit.
> with the advent of persistent device names (via udev) the partition
> separator (for persistent links only!) is '-part'.
>
> So you have
>
> /dev/sda
> /dev/sda1
> /dev/disk/by-id/scsi-0WhatAStupidName
> /dev/disk/by-id/scsi-0WhatAStupidName-part1
>
> persistent device names are longish anyway, so we can as well use
> something readable for partitions.
That's fine for the symlinks in by-id, but what about the names in
/dev/mapper and /dev/VG?
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]