package overlay
import "github.com/coreos/rkt/common/overlay"
Index ¶
Functions ¶
func Mount ¶
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.
func (*MountCfg) Opts ¶
Opts returns options for mount system call.
Source Files ¶
- Version
- v1.30.0 (latest)
- Published
- Apr 13, 2018
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 5 days ago –
Tools for package owners.