loop

package
v2.16.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Loop

func Loop(img *v1.Image, cfg *config.Config) (loopDevice string, err error)

Loop will setup a /dev/loopX device linked to the image file by using syscalls directly to set it

func Unloop

func Unloop(loopDevice string, cfg *config.Config) error

Unloop will clear a loop device and free the underlying image linked to it

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL