Documentation
¶
Index ¶
- type Ext4
- func (e *Ext4) Mkfs(op trace.Operation, devPath, label string) error
- func (e *Ext4) Mount(op trace.Operation, devPath, targetPath string, options []string) error
- func (e *Ext4) SetLabel(op trace.Operation, devPath, labelName string) error
- func (e *Ext4) Unmount(op trace.Operation, path string) error
- type XFS
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ext4 ¶
type Ext4 struct{}
Ext4 satisfies the Filesystem interface
func (*Ext4) Mkfs ¶
Mkfs creates an ext4 fs on the given device and applices the given label
func (*Ext4) Mount ¶
Mount mounts an ext4 formatted device at the given path. From the Docker mount pkg, args must in the form arg=val.
func (*Ext4) SetLabel ¶
SetLabel sets the label of an ext4 formated device
type XFS ¶
type XFS struct{}
XFS satisfies the Filesystem interface
func (*XFS) Mkfs ¶
Mkfs creates an xfs fs on the given device and applices the given label
func (*XFS) Mount ¶
Mount mounts an xfs formatted device at the given path. From the Docker mount pkg, args must in the form arg=val.
func (*XFS) SetLabel ¶
SetLabel sets the label of an xfs formated device
Source Files
¶
- ext4.go
- xfs.go
Click to show internal directories.
Click to hide internal directories.