mount

package
v0.1.0-alpha.6 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2018 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Finalize

func Finalize(s string) error

Finalize moves the mount points created in Init to the new root.

func Init

func Init(s string) (err error)

Init initializes the mount points.

func Mount

func Mount(s string) error

Mount moves the mount points created in Init to the new root.

func Move

func Move(s string) error

Move moves the mount points created in Init, to the new root.

func Unmount

func Unmount() error

Unmount unmounts the ROOT and DATA block devices.

Types

type BlockDevice

type BlockDevice struct {
	TYPE  string
	UUID  string
	LABEL string
	// contains filtered or unexported fields
}

BlockDevice represents the metadata on a block device probed by libblkid.

type Point

type Point struct {
	// contains filtered or unexported fields
}

Point represents a linux mount point.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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