[linux-lvm] Inconsistent naming...?

Alasdair G Kergon agk at redhat.com
Wed Jul 13 18:47:31 UTC 2011


On Wed, Jul 13, 2011 at 01:34:15PM -0400, Males, Jess wrote:
> That works, but it's not exactly convenient.
> [root at system ~]# dmsetup splitname /dev/mapper/tempvg-lvspare1

It's not expecting the /dev/mapper prefix there.

It's used here:
  11-dm-lvm.rules:IMPORT{program}="$env{DM_SBIN_PATH}/dmsetup splitname --nameprefixes --noheadings --rows $env{DM_NAME}"

Obviously we can patch it to understand the '/dev/mapper' prefix and other
things.

Alasdair




More information about the linux-lvm mailing list