[linux-lvm] lvm2app lvm properties properties returns bad values.
ben
benscott at nwlink.com
Sun May 22 21:37:56 UTC 2011
There is a problem with getting "lv_kernel_major", "lv_major"
and minor. The issue seems to be that the numbers can be negative (-1) while
the union only holds an unsigned 64 bit integer.
for instance this returns junk if "lv_kernel_major" is -1:
value = lvm_lv_get_property(lvm_lv, "lv_kernel_major");
Thank you.
benscott at nwlink.com
More information about the linux-lvm
mailing list