Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Mkfs ¶
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 ¶
Click to show internal directories.
Click to hide internal directories.