1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/liblvm
Dave Wysochanski 0589e19fd7 Update error return and comments for lvm_list_vg_names/uuids.
The two liblvm functions that return a list of vgnames and vguuids use
cmd->mem to allocate the list.  Make it clear to the caller that this
memory will be freed when the LVM handle is freed.

Clean up and clarify the return value of the functions.  In the
case of a memory allocation error, add a couple log_errnos to the internal
code, and make it clear that memory allocation returns a NULL pointer.
If there are no VGs in the system, the list returned is an empty list.

Make a note of the fact that currently we return hidden VG names, how
these can be detected (always start with "#"), and that they should
not be used.


Author: Dave Wysochanski <dwysocha@redhat.com>
2009-07-27 11:00:17 +00:00
..
.exported_symbols Add lvm_lv_is_active and lvm_lv_is_suspended. 2009-07-26 20:58:11 +00:00
liblvm2app.pc.in check in the correct pkgconfig file 2009-07-23 01:41:53 +00:00
lvm_base.c Rename lvm_reload_config to lvm_config_reload. 2009-07-27 10:18:51 +00:00
lvm_lv.c Add lvm_lv_is_active and lvm_lv_is_suspended. 2009-07-26 20:58:11 +00:00
lvm_pv.c Add most all liblvm 'get' functions needed for anaconda. 2009-07-26 13:06:59 +00:00
lvm_vg.c Update error return and comments for lvm_list_vg_names/uuids. 2009-07-27 11:00:17 +00:00
lvm.h Update error return and comments for lvm_list_vg_names/uuids. 2009-07-27 11:00:17 +00:00
Makefile.in Add lvm_{pv|vg|lv}_get_{uuid|name}. 2009-07-23 23:40:05 +00:00