mounts

package
v0.0.0-...-9ae0d20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2024 License: MIT Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL