linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] libLVM progress?
@ 2007-07-26 20:00 Ken Stein
  2007-07-26 20:08 ` Alasdair G Kergon
  2007-07-26 20:09 ` Bryn M. Reeves
  0 siblings, 2 replies; 4+ messages in thread
From: Ken Stein @ 2007-07-26 20:00 UTC (permalink / raw)
  To: linux-lvm

Hi all,
I'm working on putting together an automatic menu/popup-based RAID/volume
management configuration utility, and I'm interested in possibly setting
it up to support LVM systems.  Hopefully, the user will be able to plug in
a new hard drive and the system will prompt them as to what they want to
do with it, including adding it to various arrays or logical volumes,
leaving it as reserve space, etc.  I spent some time googling for
information on how to interface with the LVM system, and the only things I
could find were:
* use system() or exec() style calls to run the command line LVM utilities
as needed.  Works, but not exactly elegant, and definitely not efficient.
* delve deeply into the LVM utilities source code to find the ioctl calls
and/or procfs+sysfs structures being used, then duplicate this in my own
work.
* use a premade LVM interface library.

The last idea came to me when I realized almost everything has a library
these days, so I looked into it, but all I can find is people saying the
current/old liblvm should not be used for new development or as a platform
to base any new liblvm work off of, and people suggesting that a liblvm
project be started to work with the new LVM systems and export a stable,
logical public API.  However, I can't find any mention of actual work
being done on this - if I'm just missing it, a link would be great. 
Otherwise, is there any work I can base a modern liblvm implementation off
of, or anyone I can talk to about joining a liblvm project to help out?

Ken Stein @ kastein@wpi.edu
WPI ECE Class of 2008

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-07-30 14:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-26 20:00 [linux-lvm] libLVM progress? Ken Stein
2007-07-26 20:08 ` Alasdair G Kergon
2007-07-26 20:09 ` Bryn M. Reeves
2007-07-30 14:40   ` Ken Stein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).