[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [lvm-devel] more complex example_cmdlib.c ?



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]