[PATCH 0/3] Implement mergeable device mapper snapshots

Samuel Mendoza-Jonas sam.mj at au1.ibm.com
Wed May 13 17:14:04 AEST 2015


These patches add support for device-mapper snapshots that transparently
guarantee read-only access to disk devices. Explicit write actions such as from
GRUB updates trigger a merge of the snapshot back into the source disk.

These patches also depend on the talloc workaround in the previous RFC until I
fix that properly.

Samuel Mendoza-Jonas (3):
  discover: Keep track of available ramdisk devices
  discover: Support creation of device-mapper devices
  discover: Mount snapshots for all eligible disk devices

 discover/Makefile.am      |   6 +
 discover/device-handler.c | 173 ++++++++++++--
 discover/device-handler.h |  14 ++
 discover/dm-snapshot.c    | 569 ++++++++++++++++++++++++++++++++++++++++++++++
 discover/dm-snapshot.h    |  11 +
 discover/udev.c           |  20 +-
 6 files changed, 772 insertions(+), 21 deletions(-)
 create mode 100644 discover/dm-snapshot.c
 create mode 100644 discover/dm-snapshot.h

-- 
2.1.0



More information about the Petitboot mailing list