nodes

package
v0.10.1-0...-d91ddfa Latest Latest
Warning

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

Go to latest
Published: May 22, 2014 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AdditionalNodes = []string{
	"fuse",
}

AdditionalNodes includes nodes that are not required

View Source
var DefaultNodes = []string{
	"null",
	"zero",
	"full",
	"random",
	"urandom",
	"tty",
}

Default list of device nodes to copy

Functions

func Copy

func Copy(rootfs, node string, shouldExist bool) error

Copy copies the device node into the rootfs. If the node on the host system does not exist and the boolean flag is passed an error will be returned

func CopyN

func CopyN(rootfs string, nodesToCopy []string, shouldExist bool) error

CopyN copies the device node from the host into the rootfs

Types

This section is empty.

Jump to

Keyboard shortcuts

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