package
Version:
v0.7.5
Opens a new window with list of versions in this module.
Published: Jan 9, 2014
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Mount(device, target, mType, options string) error
Mount the specified options at the target path
Options must be specified as fstab style
Looks at /proc/self/mountinfo to determine of the specified
mountpoint has been mounted
Unmount the target only if it is mounted
type MountInfo struct {
Id, Parent, Major, Minor int
Root, Mountpoint, Opts string
Fstype, Source, VfsOpts string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.