[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] multipath-tool udev rules require missing dmsetup features
- From: Alasdair G Kergon <agk redhat com>
- To: Guido Guenther <agx sigxcpu org>
- Cc: Bastian Blank <waldi debian org>, device-mapper development <dm-devel redhat com>
- Subject: Re: [dm-devel] multipath-tool udev rules require missing dmsetup features
- Date: Mon, 13 Aug 2007 01:31:21 +0100
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 redhat com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]