boot

package
v0.0.0-...-baf486e Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2021 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// RootPath is the path that is prepended for all mounts, and is the path that will be switch_root'ed to
	// if a root mounted is mounted.
	RootPath = "/newroot"

	// OverlayPath is used when the root mount indicates that a overlay should be used. The upper and work directories are
	// created under this directory as OverlayPath + "/upper" and OverlayPath + "/work".
	OverlayPath = "/run/overlayfs"

	// OverlayRootPath is the path that is prepended for all mounts when the root mount indicates that a overlay
	// should be mounted over it. The overlay mounts to RootPath and switch_root still switches to RootPath.
	OverlayRootPath = "/run/overlayfs/lower"
)

Variables

This section is empty.

Functions

func Run

func Run(args []string, verbose bool, noop bool) error

Run the boot subcommand

func Usage

func Usage()

Usage of the boot subcommand

Types

This section is empty.

Jump to

Keyboard shortcuts

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