mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
a98ceceb1d
Use CFG_DEFAULT_COMMENTED and CFG_DEFAULT_UNDEFINED to replicate the existing comments in example.conf. Fix host_list to be cfg_array. UNDEFINED is only used if the value depends on other system/kernel values outside of lvm. The most common case is when dm-thin or dm-cache have built-in default settings in the kernel, and lvm will use those built-in default values unless the corresponding lvm config setting is set. COMMENTED is used to comment out the default setting in lvm.conf. The effect is that if the LVM version is upgraded, and the new version of LVM has new built-in default values, the new defaults are used by LVM unless the previous default value was set (uncommented) in lvm.conf. |
||
---|---|---|
.. | ||
config_settings.h | ||
config.c | ||
config.h | ||
defaults.h |