Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ext234Resize ¶
type Ext234Resize struct { }
Ext234Resize implements the FilesystemResizer interface for the ext4/3/2fs.
func (*Ext234Resize) CanResizeFilesystem ¶
func (c *Ext234Resize) CanResizeFilesystem(fstype string) bool
CanResizeFilesystem checks whether Ext234Resize can resize this filesystem.
func (*Ext234Resize) ResizeFilesystem ¶
func (c *Ext234Resize) ResizeFilesystem(deviceName string, commandExecutor func(cmd string) (out string, err error)) error
ResizeFilesystem calls resize2fs to resize the filesystem if necessary.
Click to show internal directories.
Click to hide internal directories.