Re: Inconsistent naming...?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
>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

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux