From: Zdenek Kabelac <zkabelac@redhat.com>
To: lvm-devel@redhat.com
Subject: more complex example_cmdlib.c ?
Date: Mon, 25 Nov 2013 16:11:18 +0100 [thread overview]
Message-ID: <52936896.8040905@redhat.com> (raw)
In-Reply-To: <52935E70.6060705@mglug.de>
Dne 25.11.2013 15:28, Oliver Rath napsal(a):
> Hi list,
>
> Im looking for examples using lvm in c (or c++) Code. I realized, that
> there is a really terse example in lvm/doc/example_cmdlib.c.
>
> Is it possible to include a more complex example for doing the
> lvm2-tasks like vgcreate, lvcreate incl. using thinpools, making thin
> snaps etc. ?
>
> Btw, this would be useful for the python-example, too.
>
>
Maybe look at test subdir - there are some API tests and
also some python scripts which are trying to exercise some
supported pieces.
NOTE: this API is being seen as experimental - so it's quite away for having
the same usability as a native lvm2 command line.
Zdenek
next prev parent reply other threads:[~2013-11-25 15:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-25 14:28 more complex example_cmdlib.c ? Oliver Rath
2013-11-25 15:11 ` Zdenek Kabelac [this message]
2013-11-25 15:41 ` libcunit not found but installed [was Re: more complex example_cmdlib.c ? ] Oliver Rath
2013-11-25 16:16 ` Zdenek Kabelac
2013-11-25 16:20 ` Zdenek Kabelac
2013-11-25 16:25 ` Oliver Rath
2013-11-25 16:28 ` Zdenek Kabelac
2013-11-25 16:30 ` Zdenek Kabelac
2013-11-25 16:59 ` SOLVED [was libcunit not found but installed ] Oliver Rath
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=52936896.8040905@redhat.com \
--to=zkabelac@redhat.com \
--cc=lvm-devel@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.