package
0.13.0-rc.2
Repository: https://github.com/microsoft/hcsshim.git
Documentation: pkg.go.dev

# 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.

# Structs

Target specifies a single entry in a device's target specification.

# Type aliases

CreateFlags modify the operation of CreateDevice.