All of lore.kernel.org
 help / color / mirror / Atom feed
From: ben <benscott@nwlink.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] (bump) liblvm2app improvement suggestions
Date: Sun, 18 Sep 2011 20:03:36 -0700	[thread overview]
Message-ID: <12190884.WQ2Kanu2Zj@laptop> (raw)
In-Reply-To: <2097280.qh0eFtcjbt@laptop>

bump

No comments?

On September 12 05:30:58 PM ben wrote:
> When reading the list of logical volumes using the library it can be really
> difficult to determine just what type of volume each one really is. The
> problem is that the attributes field doesn't cover all the possiblities. A
> volume can be an origin and a mirror or it may be a mirror log that is also
> a mirror. I have had to resort to parsing the name string for things like
> "_mlog" to determine what I am dealing with.
> 
> It would be really helpful to have some functions like:
> 
> lvm_lv_is_snapshot(const lv_t lv)
> lvm_lv_is_mirror(const lv_t lv)
> lvm_lv_is_origin(const lv_t lv)
> lvm_lv_is_mirror_log(const lv_t lv)
> lvm_lv_is_mirror_leg(const lv_t lv)
> 
> and you get the idea.
> 
> Thank you.

      reply	other threads:[~2011-09-19  3:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-13  0:30 [linux-lvm] liblvm2app improvement suggestions ben
2011-09-19  3:03 ` ben [this message]

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=12190884.WQ2Kanu2Zj@laptop \
    --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.