Documentation ¶
Index ¶
Constants ¶
View Source
const ( LoopDeviceFormat = "/dev/loop%d" LoopControlPath = "/dev/loop-control" DirectCSIBackFileRoot = "/var/lib/direct-csi/loop" NameSize = 64 KeySize = 32 // Syscalls CtlAdd = 0x4C80 CtlRemove = 0x4C81 CtlGetFree = 0x4C82 SetFd = 0x4C00 ClrFd = 0x4C01 SetStatus = 0x4C02 SetStatus64 = 0x4C04 GetStatus64 = 0x4C05 )
Variables ¶
This section is empty.
Functions ¶
func CreateLoopbackDevice ¶
func GetAttachedDeviceNames ¶
func RemoveLoopDevice ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.