Commit Graph

2 Commits

Author SHA1 Message Date
haad
0c1ba949b7 Fix problem where DM_IOCTL_NAME was used in libdm_task_set_uuid except of
DM_IOCTL_UUID. This makes lvremove to work properly.

Thanks To hugo Silva and Toby Karyadi for reporting this issue.
2011-05-30 01:10:57 +00:00
haad
83425a0f36 Initial import of libdm and dmctl to tree. libdm library can be used
to access, manage and manipulate device-mapper driver. Which opens us bunch
of new possibilities like

	dm-multipath device target
	dm-crypt     device target
	dm-ccd 	     compatibility layer

With this import I'm bringing in dmctl tool for working with dm driver ,too.
I plan to replace gpl2 licensed dmsetup command with our dmctl tool in near
feature. It can also by placed to /rescue where we was not able to put
dmsetup because of licensing problems.

With libdm in tree we can now write RUMP atf test suite for dm driver to
ensure LVM subsystem stability as time goes.

Reviewed by: blymn@ and rmind@
Oked: by no objections on tech-userlevel@
2011-02-08 03:20:13 +00:00