mount

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilesystemIsSupported

func FilesystemIsSupported(fs string) (bool, error)

func IsMountpoint

func IsMountpoint(target string) (bool, error)

Types

type Mount

type Mount struct {
	Source string
	Target string
	FSType string
	Opts   []string
}

func FindMount

func FindMount(target string) (Mount, bool, error)

func (Mount) GetOverlayDirs added in v0.19.0

func (m Mount) GetOverlayDirs() ([]string, error)

type Mounts

type Mounts []Mount

func ParseMounts

func ParseMounts(mountinfo string) (Mounts, error)

func (Mounts) FindMount

func (ms Mounts) FindMount(p string) (Mount, bool)

Jump to

Keyboard shortcuts

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