[lvm-devel] [PATCH 08/13] Add lvm_vg_get_attr_value() libLVM API to query to value of a VG attribute.

Petr Rockai prockai at redhat.com
Mon Feb 2 23:47:09 UTC 2009


Dave Wysochanski <dwysocha at redhat.com> writes:
> This API may be used independently to query the value of a VG attribute,
> provided the name of the attribute is known.  If the name of the attribute(s)
> are unknown, the previous API, vg_get_attr_list(), may be used.
I suppose this makes the field names part of the API. Nothing wrong with that,
they are already exported into the command-level interface, just wanted to make
that fact explicit.

-- 
Peter Rockai | me()mornfall!net | prockai()redhat!com
 http://blog.mornfall.net | http://web.mornfall.net

"In My Egotistical Opinion, most people's C programs should be
 indented six feet downward and covered with dirt."
     -- Blair P. Houghton on the subject of C program indentation




More information about the lvm-devel mailing list