Portal:Libstorage
Introduction
Libstorage is a C++ library for managing Linux storage devices. It was first developed for SuSE 10.1 as part of yast2-storage. Since openSUSE 11.2 it is a independent project.
Features
Libstorage handles all steps for manipulating storage devices. E.g. when creating an encrypted partition it will, besides of creating the actual partition, setup encryption, format it, mount it and adjust /etc/fstab and /etc/crypttab.
Libstorage supports:
- MSDOS and GPT partition tables
- Device-mapper (DM) RAID and Multipath
- Multiple Devices (MD) RAID
- Logical Volume Manager (LVM)
- NFS Version 3 and 4
- Encrypted Filesystems and LVM Physical Volumes
- Different logical sectors sizes, e.g. 512B and 4kB
Future Ideas.
Documentation
Full documentation is included in the libstorage-devel RPM under /usr/share/doc/packages/libstorage/autodocs/index.html. Addidionally some example programs are in /usr/share/doc/packages/libstorage/examples.
Language Bindings
Swig generated Python bindings are provided in the libstorage-python RPM.
Development
See Development.