partition

package
v0.0.0-...-921daf7 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2016 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// BootSystem proxies bootSystem
	BootSystem = bootSystem
)

Functions

func BootDir

func BootDir(bootSystem string) string

BootDir returns the directory used by the boot system.

func Mode

func Mode() (mode string, err error)

Mode returns the current bootloader mode, regular or try.

func OSSnapName

func OSSnapName(c *check.C) string

OSSnapName returns the name of the OS snap.

func SnappyKernel

func SnappyKernel() (string, error)

SnappyKernel returns the name of the Kernel snap in the form name.origin_version.snap This is a workaround for https://bugs.launchpad.net/snappy/+bug/1532245

Types

This section is empty.

Jump to

Keyboard shortcuts

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