pkg

package
v0.6.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// RAWDiskSize is the minimum size disk we can create.
	RAWDiskSize = 544
)

Variables

This section is empty.

Functions

func CreateRawDisk

func CreateRawDisk() (img string, err error)

CreateRawDisk creates a raw disk by invoking the `dd` command.

func Isohybrid

func Isohybrid(iso string) (err error)

Isohybrid creates a hybrid iso by invoking the `isohybrid` command.

func Loattach

func Loattach(img string) (dev string, err error)

Loattach attaches a loopback device by inoking the `losetup` command.

func Lodetach

func Lodetach(img string) (err error)

Lodetach detaches a loopback device by inoking the `losetup` command.

func Mkisofs

func Mkisofs(iso, dir string) (err error)

Mkisofs creates an iso by invoking the `mkisofs` command.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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