# Functions
CreateDevice creates a device-mapper device with the given target spec.
CreateDeviceWithRetryErrors keeps retrying to create device mapper target.
CreateVerityTarget creates a dm-verity target for a given device and returns created virtual block device path.
CreateZeroSectorLinearTarget creates dm-linear target for a device at `devPath` and `mappingInfo`, returns virtual block device path.
LinearTarget constructs a device-mapper target that maps a portion of a block device at the specified offset.
RemoveDevice removes a device-mapper device and its associated device node.
# Constants
CreateReadOnly specifies that the device is not writable.
# Type aliases
CreateFlags modify the operation of CreateDevice.