overlay

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mount

func Mount(cfg *MountCfg) error

Mount mounts the upper and lower directories to the destination directory. The MountCfg struct supplies information required to build the mount system call.

Types

type MountCfg

type MountCfg struct {
	Lower,
	Upper,
	Work,
	Dest,
	Lbl string
}

MountCfg contains the needed data to construct the overlay mount syscall. The Lower and Upper fields are paths to the filesystems to be merged. The Work field should be an empty directory. Dest is where the mount will be located. Lbl is an SELinux label.

Jump to

Keyboard shortcuts

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