package
0.4.8
Repository: https://github.com/siderolabs/go-blockdevice.git
Documentation: pkg.go.dev

# Functions

Loop given a handle to a Loopback device (such as /dev/loop0), and a handle to the image to loop mount (such as a squashfs or ext4fs image), performs the required call to loop the image to the provided block device.
LoopSetReadWrite clears the read-only flag on the loop devices.
NextLoopDevice gets the next loopback device that isn't used.
Unloop given a handle to the Loopback device (such as /dev/loop0), preforms the required call to the image to unloop the file.