mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
14 lines
260 B
Go
14 lines
260 B
Go
|
package mount
|
||
|
|
||
|
import (
|
||
|
"syscall"
|
||
|
)
|
||
|
|
||
|
func mount(device, target, mType string, flag uintptr, data string) error {
|
||
|
return syscall.Mount(device, target, mType, flag, data)
|
||
|
}
|
||
|
|
||
|
func unmount(target string, flag int) error {
|
||
|
return syscall.Unmount(target, flag)
|
||
|
}
|