In the version we use (2.02.21), there is a library interface (lvm2_run) that essentially allows one to run any LVM command and get its output without having to fork. The problem, of course, is the effort of parsing the output well. - Rob On Fri, Feb 22, 2008 at 9:50 PM, ben scott <benscott@nwlink.com> wrote: > On Thursday 21 February 2008 9:10:38 am Dave Wysochanski wrote: > > On Sat, 2008-02-16 at 21:26 -0800, ben scott wrote: > > > > > > > Also, has there been any progress towards an lvm library? > > > > Slow progress so far but it is being worked on. > > > > Do you have specific requirements and/or use cases you can share? Are > > they straightforward things such as pvcreate, vgcreate, lvcreate, and > > displaying of PVs, VGs, and LVs, or are there more complicated things? > > > > Anything you can share would be appreciated. > > Ultimately I would like to have a GUI interface that can do anything > the CLI can do. However just having a library for reading the information > like vgs, pvs and lvs would be really nice. > > Thank you. > > > > _______________________________________________ > linux-lvm mailing list > linux-lvm@redhat.com > https://www.redhat.com/mailman/listinfo/linux-lvm > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/ > _______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/