Re-added mount_*.go in docker package to not break tests/build

Upstream-commit: 8b61af189597579f1086a42fcdc824bfe737dce7
Component: engine
This commit is contained in:
shin-
2013-02-21 23:07:10 -08:00
parent 2c9db7d776
commit 93b7b161e0
2 changed files with 15 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
package docker
import "errors"
func mount(source string, target string, fstype string, flags uintptr, data string) (err error) {
return errors.New("mount is not implemented on darwin")
}
+8
View File
@@ -0,0 +1,8 @@
package docker
import "syscall"
func mount(source string, target string, fstype string, flags uintptr, data string) (err error) {
return syscall.Mount(source, target, fstype, flags, data)
}