mirror of
git://sourceware.org/git/lvm2.git
synced 2024-10-06 22:19:30 +03:00
ebc236d085
This patch adds --profile arg to lvm cmds and adds config/profile_dir configuration setting to select the directory where profiles are stored By default it's /etc/lvm/profile. The profiles are added by using new "add_profile" fn and then loaded using the "load_profile" fn. All profiles are stored in a cmd context within the new "struct profile_params": struct profile_params { const char *dir; struct profile *global_profile; struct dm_list profiles_to_load; struct dm_list profiles; }; ...where "dir" is the directory with profiles, "global_profile" is the profile that is set globally via the --profile arg (IOW, not set per VG/LV basis based on metadata record) and the "profiles" is the list with loaded profiles. |
||
---|---|---|
.. | ||
kernel | ||
.gitignore | ||
example_cmdlib.c | ||
example.conf.in | ||
lvm2-raid.txt | ||
lvm_fault_handling.txt | ||
lvmetad_design.txt | ||
Makefile.in | ||
pvmove_outline.txt | ||
tagging.txt | ||
testing.txt | ||
udev_assembly.txt |