All of lore.kernel.org
 help / color / mirror / Atom feed
From: ben <benscott@nwlink.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] bug in lvm2app get_property value
Date: Sun, 21 Nov 2010 22:34:20 -0800	[thread overview]
Message-ID: <201011212234.20129.benscott@nwlink.com> (raw)

For some reason the following functions return different numbers for single 
segment volumes:

    value = lvm_lv_get_property(lvm_lv, "lv_size");
    value = lvm_lvseg_get_property(lvm_lvseg, "seg_size");

The first function seems to be correct while the second one returns the same 
value divided by 512?

Thank you.

             reply	other threads:[~2010-11-22  6:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-22  6:34 ben [this message]
2010-11-23  4:03 ` [linux-lvm] bug in lvm2app get_property value Dave Wysochanski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201011212234.20129.benscott@nwlink.com \
    --to=benscott@nwlink.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.