|
From: | Curtis Gedak |
Subject: | Re: Wrong partition device naming scheme |
Date: | Mon, 02 Aug 2010 15:41:59 -0600 |
User-agent: | Thunderbird 2.0.0.24 (X11/20100317) |
When using parted (v2.3) on an ASUS P5B-E motherboard with Intel Chipset Raid ICH8R, parted appears to always append the letter "p" followed by the partition number to the device name to arrive at the partition name.
I believe that the general rule of thumb for naming partitions is as follows:
A) If the device name ends in a number, then append the letter "p" and the partition number to create the partition name.
B) If the device name does not end in a number, then append the partition number only to create the partition name.
From previous experience with the dmraid command, I think that it too violates the general rule of thumb for naming partitions. Specifically dmraid seems to only append the partition number, even if the device name ends in a number. A work around to this problem is to use the kpartx command to create the appropriately named device entries.
Regards, Curtis Gedak Hadmut Danisch wrote:
Hi, when creating a partition table and partitions in a Linux logical volume (to be used as a virtual hard disk for qemu), e.g. /dev/mapper/vg-disk, then parted automatically creates partition entries like /dev/mapper/vg-diskp1, ..p2, and so on. These partition entries are incompatible with other linux uses, e.g. grub expects the usual scheme where just 1,2,3 (without p) is appended to the base device name. regards Hadmut _______________________________________________ bug-parted mailing list address@hidden http://lists.gnu.org/mailman/listinfo/bug-parted
[Prev in Thread] | Current Thread | [Next in Thread] |