Dne 21. 08. 19 v 9:58 Christoph Pleger napsal(a):
Hello,
Some time ago, we wrote an application that uses the lvm2app interface to
manage volume groups and logical volumes. Of course, the application does not
work anymore, now that lvm2app has been skipped. So, is there anywhere
something like a guide how to rewrite code that used the lvm2app interface?
Hi
Unfortunatelly there is no API library anymore - we were simply not able to
provide such interface - it's complex task and very low number of developers...
The 'new' idea was to use/provide 'DBus' API - however it's also not a lot of
'traction' :( and it's also missing lot of features and design...
So I'd highly recommend to stick with a call standard lvm2 commands.
String interface is pretty good and easy to construct in all programming
languages.
Note - lvs has pretty good formatting capabilities for easy parsing (even in
i.e. BASH)
Regards
Zdenek
_______________________________________________
linux-lvm mailing list
linux-lvm@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/