diskimage

package
v1.4.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatDisk

func FormatDisk(path string) error

FormatDisk partitions the specified image file by writing an MBR with a single partition and then formatting that partition as an ext4 filesystem.

func Put added in v1.4.2

func Put(image string, files map[string][]byte) error

Put writes files to the image, making all the necessary subdirs

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