Documentation ¶
Overview ¶
Package makefs provides function to format and grow filesystems.
Index ¶
- Constants
- func Ext4(partname string, setters ...Option) error
- func Ext4Resize(partname string) error
- func VFAT(partname string, setters ...Option) error
- func XFS(partname string, setters ...Option) error
- func XFSGrow(partname string) error
- func XFSRepair(partname, fsType string) error
- type Option
- type Options
Constants ¶
View Source
const (
// FilesystemTypeXFS is the filesystem type for XFS.
FilesystemTypeXFS = "xfs"
)
Variables ¶
This section is empty.
Functions ¶
func Ext4Resize ¶
Ext4Resize expands a ext4 filesystem to the maximum possible.
Types ¶
type Option ¶
type Option func(*Options)
Option to control makefs settings.
func WithReproducible ¶ added in v1.5.0
WithReproducible sets the reproducible flag for the filesystem to be created. This should only be used when creating filesystems on raw disk images.
func WithUnsupportedFSOption ¶ added in v1.8.0
WithUnsupportedFSOption sets the unsupported filesystem option.
Click to show internal directories.
Click to hide internal directories.