summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 45805cf)
raw | patch | inline | side by side (parent: 45805cf)
author | Benjamin Gilbert <bgilbert@cs.cmu.edu> | |
Thu, 29 May 2014 04:09:17 +0000 (00:09 -0400) | ||
committer | Benjamin Gilbert <bgilbert@cs.cmu.edu> | |
Thu, 29 May 2014 04:09:17 +0000 (00:09 -0400) |
It is only available in liblvm2app >= 2.02.99, which is not in Debian
Wheezy.
Wheezy.
src/lvm.c | patch | blob | history |
diff --git a/src/lvm.c b/src/lvm.c
index cbf244b3530309e2149aa8ee2b33201ae8b443e7..107766c33ecf3f0395d9c4fb12b24a8bcdf807fd 100644 (file)
--- a/src/lvm.c
+++ b/src/lvm.c
return;
dm_list_iterate_items(lvl, lvs) {
name = lvm_lv_get_name(lvl->lv);
- attrs = lvm_lv_get_attr(lvl->lv);
+ attrs = get_lv_property_string(lvl->lv, "lv_attr");
size = lvm_lv_get_size(lvl->lv);
if (name == NULL || attrs == NULL || size == NO_VALUE)
continue;