Browse code

Implementing mounting/unmounting of images. Currently missing Mounpoint#Deregister

shin- authored on 2013/02/22 16:01:13
Showing 4 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,7 @@
0
+package docker
1
+
2
+import "errors"
3
+
4
+func mount(source string, target string, fstype string, flags uintptr, data string) (err error) {
5
+	return errors.New("mount is not implemented on darwin")
6
+}
0 7
new file mode 100644
... ...
@@ -0,0 +1,8 @@
0
+package docker
1
+
2
+import "syscall"
3
+
4
+
5
+func mount(source string, target string, fstype string, flags uintptr, data string) (err error) {
6
+	return syscall.Mount(source, target, fstype, flags, data)
7
+}
0 8
deleted file mode 100644
... ...
@@ -1,7 +0,0 @@
1
-package docker
2
-
3
-import "errors"
4
-
5
-func mount(source string, target string, fstype string, flags uintptr, data string) (err error) {
6
-	return errors.New("mount is not implemented on darwin")
7
-}
8 1
deleted file mode 100644
... ...
@@ -1,8 +0,0 @@
1
-package docker
2
-
3
-import "syscall"
4
-
5
-
6
-func mount(source string, target string, fstype string, flags uintptr, data string) (err error) {
7
-	return syscall.Mount(source, target, fstype, flags, data)
8
-}