platform_system_core/fs_mgr/libdm
David Anderson 29e6bf282f Add dm-snapshot targets to libdm and dmctl.
This adds DmTargetSnapshotOrigin and DmTargetSnapshot. The latter target
can handle both "snapshot" and "snapshot-merge" targets. The syntax for
dmctl is as follows:

    dmctl create <name> snapshot <start> <num_sectors> <base_device> \
          <cow_device> <P|N> <chunk_size>
    dmctl create <name> snapshot-merge <start> <num_sectors> <base_device> \
          <cow_device> <chunk_size>
    dmctl create <name> snapshot-origin <start> <num_sectors> <device>

Bug: N/A
Test: libdm_test gtests
Change-Id: I8eef987cb92121e81bedd37b9a66fad04c7a23a3
2019-05-06 13:59:44 -07:00
..
include/libdm Add dm-snapshot targets to libdm and dmctl. 2019-05-06 13:59:44 -07:00
Android.bp disable darwin build for libdm 2019-01-15 22:57:00 +00:00
Android.mk Allow makefiles to be parsed in a trimmed down manifest. 2019-03-25 09:14:33 +00:00
AndroidTest.xml Make VTS run libdm_test 2019-03-22 15:11:49 -07:00
dm.cpp Add dm-snapshot targets to libdm and dmctl. 2019-05-06 13:59:44 -07:00
dm_table.cpp libdm: Add DmTargetVerity and use it in fs_mgr_avb. 2018-06-25 17:56:12 -07:00
dm_target.cpp Add dm-snapshot targets to libdm and dmctl. 2019-05-06 13:59:44 -07:00
dm_test.cpp Add dm-snapshot targets to libdm and dmctl. 2019-05-06 13:59:44 -07:00
loop_control.cpp libdm: Add helper classes for loop control. 2018-06-25 11:37:51 -07:00
loop_control_test.cpp libdm: Add unit tests for dm-linear. 2018-06-25 12:56:14 -07:00
test_util.cpp libdm: Add unit tests for dm-linear. 2018-06-25 12:56:14 -07:00
test_util.h libdm: Add unit tests for dm-linear. 2018-06-25 12:56:14 -07:00