package mount

import "github.com/dotcloud/docker/pkg/libcontainer/mount"

Index

Functions

func InitializeMountNamespace

func InitializeMountNamespace(rootfs, console string, container *libcontainer.Container) error

InitializeMountNamespace setups up the devices, mount points, and filesystems for use inside a new mount namepsace

func MsMoveRoot

func MsMoveRoot(rootfs string) error

func PivotRoot

func PivotRoot(rootfs string) error

func RemountProc

func RemountProc() error

func RemountSys

func RemountSys() error

func SetReadonly

func SetReadonly() error

func SetupPtmx

func SetupPtmx(rootfs, consolePath, mountLabel string) error

Source Files

init.go msmoveroot.go pivotroot.go ptmx.go readonly.go remount.go

Directories

PathSynopsis
pkg/libcontainer/mount/nodes
Version
v0.11.1
Published
May 8, 2014
Platform
linux/amd64
Imports
10 packages
Last checked
12 minutes ago

Tools for package owners.