[Ovirt-devel] [PATCH node] Checks if HostVG exists on any but the target device.

Alan Pevec apevec at gmail.com
Thu Feb 19 16:35:36 UTC 2009


On Tue, Feb 17, 2009 at 10:44 PM, Darryl L. Pierce <dpierce at redhat.com> wrote:
> +    # check if an existing HostVG exists on a device other than the target
> +    for vg in $(pvdisplay -c); do
> +       eval $(echo $vg | awk '{match($0, "^([^:]*):([^:]*)", data); print "device="data[1]" name="data[2]}')

why not just:
awk -F: '{print "device="$1" name="$2}'

ACL with changed message pointing to new Uninstall option (yeah,
should get that in first, for consistency :)




More information about the ovirt-devel mailing list