Christoph, > dm-thin and dm-cache also work on partitions, so use the proper > interface to check if the device is read-only. Reviewed-by: Martin K. Petersen <martin.petersen at oracle.com> -- Martin K. Petersen Oracle Linux Engineering