Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFstabLines ¶
func GetFstabLines(mountPoints []*MountPoint) string
Types ¶
type MountPoint ¶
type MountPoint struct { Device string MountPoint string FsType string Options string Dump bool Pass bool Removed bool }
func FromLine ¶
func FromLine(fstabLine []string) (MountPoint, error)
func GetMountPoints ¶
func GetMountPoints(rawFile string) []*MountPoint
func (*MountPoint) Edit ¶
func (m *MountPoint) Edit(expression string) error
Click to show internal directories.
Click to hide internal directories.