1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 11:55:55 +03:00
lvm2/lib/commands
David Teigland 7fd4119d24 liblvm: allow config settings to be read without full lvm cmd
A program may be using liblvm2app for simply checking a config
setting in lvm.conf.  In this case, a full lvm context is not
needed, only cmd->cft (which are the config settings read from
lvm.conf).

lvm_config_find_bool() can now be passed a NULL lvm context
in which case it will only create cmd->cft, check the config
setting asked for, and destroy the cmd.
2016-05-18 09:04:25 -05:00
..
toolcontext.c liblvm: allow config settings to be read without full lvm cmd 2016-05-18 09:04:25 -05:00
toolcontext.h liblvm: allow config settings to be read without full lvm cmd 2016-05-18 09:04:25 -05:00