Skip to contentSkip to conversation

Any exiisting users of existing LVM2 command line library interface (lvm2cmd.h)?

DISCUSSION Dave Wysochanski 3 participants 4 messages Sep 11, 2007 – Sep 17, 2007 Device mapper

lore
Share & tools
lore
#0 lore raw

A new LVM2 API library is in progress.

If you are an existing user of the current command line library interface or are interested in a new LVM2 library, we're interested to hear input:
1) how you are currently using the existing interface
2) what you would like to see in the new interface

Thanks.

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

#1 lore raw
Quoted 8 lines · Dave Wysochanski

A new LVM2 API library is in progress.

If you are an existing user of the current command line library interface or are interested in a new LVM2 library, we're interested to hear input:
1) how you are currently using the existing interface
2) what you would like to see in the new interface

Quoted 4 lines

Thanks.

_

I maintain the gnome graphical tool for lvm called system-config-lvm, as well as a web based lvm configuration tool called conga. I depend on the current command line set to make the app work. Will the rug soon be pulled out from under me? :)

No big deal, as long as I have a little warning - like a quarter, or so. As you amend the CLI, though, please maintain the 'machine readable' output commands...ones without column headers or unnecessary formatting characters, so that my app, and the many, many users that have built scripts around the CLI are not confronted with surprises.

Maintaining compatibility with the current CLI for a few releases of the new CLI would be a nice gift to us!

Regards,

-Jim

#2 lore raw
Quoted 10 lines · James Parsons
Quoted 8 lines · Dave Wysochanski

A new LVM2 API library is in progress.

If you are an existing user of the current command line library interface or are interested in a new LVM2 library, we're interested to hear input:
1) how you are currently using the existing interface
2) what you would like to see in the new interface

Quoted 9 lines
Quoted 4 lines

Thanks.

_

I maintain the gnome graphical tool for lvm called system-config-lvm, as well as a web based lvm configuration tool called conga. I depend on the current command line set to make the app work. Will the rug soon be pulled out from under me? :)

Hi Jim! ;-)
We're still a ways off. We'll be sure to let you know.

It would be nice to get an idea of the lvm cmds you use and which options. Is it easy to grep through the code and find this or do you have a list handy?

I know cluster info is here:
http://sourceware.org/cluster/
and upstream conga code is here correct?
cvs -d :pserver:[email protected]:/cvs/cluster checkout conga

I could not readily locate the upstream code for system-config-lvm.

Quoted 9 lines

No big deal, as long as I have a little warning - like a quarter, or so. As you amend the CLI, though, please maintain the 'machine readable' output commands...ones without column headers or unnecessary formatting characters, so that my app, and the many, many users that have built scripts around the CLI are not confronted with surprises.

Maintaining compatibility with the current CLI for a few releases of the new CLI would be a nice gift to us!

We will do our best to maintain backward compatibility, especially in areas we know people are already using.

Thanks.

#3 lore raw
In reply to James Parsons
Quoted 5 lines · James Parsons
Quoted 1 line · Dave Wysochanski

A new LVM2 API library is in progress.

Maintaining compatibility with the current CLI for a few releases of the new CLI would be a nice gift to us!

This is about a new *library* (.so) not the command line.

The existing liblvm2cmd will remain.

There are no plans to break the existing command line interface, though it will continue to evolve and some adjustments might be needed from time to time.

Alasdair

Signature · 1 line
[email protected]