From 53b405093b7c13235589b2778f9236e2aabcae61 Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Fri, 14 Jun 2013 12:35:06 +0200 Subject: [PATCH] conf: refine lvm.conf documentation for autoactivation feature even more --- doc/example.conf.in | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/doc/example.conf.in b/doc/example.conf.in index 5b7ed5b63..94c32d5cc 100644 --- a/doc/example.conf.in +++ b/doc/example.conf.in @@ -662,13 +662,20 @@ activation { # In this case, the user calls "vgchange --activate ay/-a ay" or # "lvchange --activate ay/-a ay" directly. # - # If the VG/LV being processed does not match the list, the VG/LV is not - # activated. If auto_activation_volume_list is not set, then all volumes - # are activated by default. + # By default, the auto_activation_volume_list is not defined and all + # volumes will be activated either automatically or by using --activate ay/-a ay. # # N.B. The "activation/volume_list" is still honoured in all cases so even # if the VG/LV passes the auto_activation_volume_list, it still needs to # pass the volume_list for it to be activated in the end. + + # If auto_activation_volume_list is defined but empty, no volumes will be + # activated automatically and --activate ay/-a ay will do nothing. + # + # auto_activation_volume_list = [] + + # If auto_activation_volume_list is defined and it's not empty, only matching + # volumes will be activated either automatically or by using --activate ay/-a ay. # # "vgname" and "vgname/lvname" are matched exactly. # "@tag" matches any tag set in the LV or VG.