[libvirt] [PATCH] Fix logical storage pool operation on SLES10-SP2

David Lively dlively at virtualiron.com
Mon Jul 28 19:35:30 UTC 2008


The attached patch adjusts for a difference in behavior in the LVM
utilities 'lvs' and 'vgs'.  The SLES10-SP2 versions of these (and
presumably others) append a trailing separator.  This patch simply
adjusts the regexps to allow (but not require) this.

I thought just adding the ":?" to the regexps would do this, but this
was leaving the trailing separator in the last group match, so I ended
up tweaking the preceding group pattern as well.

Dave

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-sles10-lvm-utils-adjustment.patch
Type: text/x-patch
Size: 1521 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080728/9f6b6457/attachment-0001.bin>


More information about the libvir-list mailing list