[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [linux-lvm] Inconsistent naming...?
- From: "Males, Jess" <jmales cio sc gov>
- To: LVM general discussion and development <linux-lvm redhat com>
- Subject: Re: [linux-lvm] Inconsistent naming...?
- Date: Wed, 13 Jul 2011 13:34:15 -0400
>
>Oh - you've just reminded me:
> dmsetup splitname
>
>Alasdair
>
That works, but it's not exactly convenient.
[root system ~]# dmsetup splitname /dev/mapper/tempvg-lvspare1
VG LV LVLayer
/dev/mapper/tempvg lvspare1
If /dev/tempvg/lvspare1 is the optimal naming scheme, cut or awk is needed to recreate the name from that output. How about a 'dmsetup canonical' that takes <device> and provides /dev/<vg>/<lv>?
-- Jess
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]