Maybe what you want is the LVM2 to interface with device mapper
disks? If you add any new dm target type, you should add some code to
2011/11/16, Yathindra <email@example.com>:
> I want to use libdevmapper instead of invoking dmsetup to interface with
> device mapper disks.
> Is there any documentation/examples on using libdevmapper. It would be
> great help.
> dm-devel mailing list
dm-devel mailing list