mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
7bc96aec7b
Enable builds on OSX
13 lines
260 B
Go
13 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)
|
|
}
|