internal

package
v0.0.0-...-f6d5d5b Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mkfs

func Mkfs(typ, img, label string, deviceSize, sectorSize quantity.Size) error

Mkfs creates a filesystem of given type and provided label in the device or file. The device size and sector size provides hints for additional tuning of the created filesystem.

func MkfsWithContent

func MkfsWithContent(typ, img, label, contentRootDir string, deviceSize, sectorSize quantity.Size) error

MkfsWithContent creates a filesystem of given type and provided label in the device or file. The filesystem is populated with contents of contentRootDir. The device size provides hints for additional tuning of the created filesystem.

Types

type MkfsFunc

type MkfsFunc func(imgFile, label, contentsRootDir string, deviceSize, sectorSize quantity.Size) error

Jump to

Keyboard shortcuts

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