Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Make ¶
Make 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 MakeWithContent ¶
func MakeWithContent(typ, img, label, contentRootDir string, deviceSize, sectorSize quantity.Size) error
MakeWithContent 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 MakeFunc ¶
type MakeFunc func(imgFile, label, contentsRootDir string, deviceSize, sectorSize quantity.Size) error
MakeFunc defines a function signature that is used by all of the mkfs.<filesystem> functions supported in this package. This is done to allow them to be defined in the mkfsHandlers map
Click to show internal directories.
Click to hide internal directories.