summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2012-06-27 07:48:31 -0400
committerPeter Rajnoha <prajnoha@redhat.com>2012-06-28 09:42:44 -0400
commit2729720fd329f2c33cddeeded591a06fe4b6a147 (patch)
tree97c89e26f8513eb45f904db0f5df894308cd9d54 /lib
parent07a25c249b3ed449ca9f678c19ddb320967adaa9 (diff)
downloadlvm2-2729720fd329f2c33cddeeded591a06fe4b6a147.tar.gz
lvm2-2729720fd329f2c33cddeeded591a06fe4b6a147.tar.xz
lvm2-2729720fd329f2c33cddeeded591a06fe4b6a147.zip
args: add --activate synonym for --available arg
We're refererring to 'activation' all over the code and we're talking about 'LVs being activated' all the time so let's use 'activation/activate' everywhere for clarity and consistency (still providing the old 'available' keyword as a synonym for backward compatibility with existing environments).
Diffstat (limited to 'lib')
-rw-r--r--lib/metadata/metadata-exported.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/metadata/metadata-exported.h b/lib/metadata/metadata-exported.h
index f42ec33f..403367e1 100644
--- a/lib/metadata/metadata-exported.h
+++ b/lib/metadata/metadata-exported.h
@@ -563,11 +563,11 @@ int update_pool_lv(struct logical_volume *lv, int activate);
* Activation options
*/
typedef enum {
- CHANGE_AY = 0,
- CHANGE_AN = 1,
- CHANGE_AE = 2,
- CHANGE_ALY = 3,
- CHANGE_ALN = 4
+ CHANGE_AY = 0, /* activate */
+ CHANGE_AN = 1, /* deactivate */
+ CHANGE_AE = 2, /* activate exclusively */
+ CHANGE_ALY = 3, /* activate locally */
+ CHANGE_ALN = 4 /* deactivate locally */
} activation_change_t;
/* FIXME: refactor and reduce the size of this struct! */