From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m1SIH46X030143 for ; Thu, 28 Feb 2008 13:17:04 -0500 Received: from ag-out-0708.google.com (ag-out-0708.google.com [72.14.246.249]) by mx3.redhat.com (8.13.8/8.13.8) with ESMTP id m1SIGUmV016566 for ; Thu, 28 Feb 2008 13:16:30 -0500 Received: by ag-out-0708.google.com with SMTP id 31so9103718agc.3 for ; Thu, 28 Feb 2008 10:16:29 -0800 (PST) Message-ID: Date: Thu, 28 Feb 2008 13:16:28 -0500 From: "Rob West" Subject: Re: [linux-lvm] I have started writing a KDE program for LVM In-Reply-To: <200802221850.18136.benscott@nwlink.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <269300.77497.qm@web57704.mail.re3.yahoo.com> <200802162126.09898.benscott@nwlink.com> <1203613838.3540.1.camel@localhost.localdomain> <200802221850.18136.benscott@nwlink.com> Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii" To: LVM general discussion and development 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 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/ >