Registry / utility / freddierice-go-losetup

freddierice-go-losetup

JSON →
librarygogounverified

Package go-losetup provides Go bindings for Linux loop device setup and management.

go get github.com/freddierice/go-losetup
INSTALL
IMPORT
SIG · FREDDIERICE-GO-LOS
F
freddierice-go-losetup
utilitygo
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

losetup
github.com/freddierice/go-losetup

Attach a loop device to a disk image.

package main import ( "fmt" "github.com/freddierice/go-losetup" ) func main() { dev, _ := losetup.Attach("/path/to/image", 0, false) fmt.Println(dev.Path()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
freddierice-go-losetup — go get freddierice-go-losetup · libregistry