Re: multipath-tool udev rules require missing dmsetup features

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

 



On Sun, Aug 12, 2007 at 06:27:17PM +0200, Guido Guenther wrote:
> Does the attached version look better?

I'd like it integrating into the *library*, not hard-coding into 'dmsetup'.
i.e. an alternative output format for the library's reporting mechanism.

so 'lvs -o vg_name,lv_name --asvariables' (with some more-descriptive choice of
cmdline arg) might produce:
LVM_VG_NAME_1="vg1"  
LVM_LV_NAME_1="lv1"
LVM_VG_NAME_2="vg1"
LVM_LV_NAME_2="lv2"
var name generated by library from prefix + col name in caps + row no suffix
(of course if you only ask for one object at a time, you'll always have suffix
of _1 so it should work fine for your scripts)

Alasdair
-- 
agk@xxxxxxxxxx

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux