package mount

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

Index

Functions

func Mount

func Mount(device, target, mType, options string) error

Mount the specified options at the target path Options must be specified as fstab style

func Mounted

func Mounted(mountpoint string) (bool, error)

Looks at /proc/self/mountinfo to determine of the specified mountpoint has been mounted

func Unmount

func Unmount(target string) (err error)

Unmount the target only if it is mounted

Source Files

mount.go mountinfo.go

Version
v0.7.3
Published
Jan 3, 2014
Platform
js/wasm
Imports
5 packages
Last checked
1 minute ago

Tools for package owners.