aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/mount.go (renamed from weed/command/mount2.go)0
-rw-r--r--weed/command/mount_darwin.go8
-rw-r--r--weed/command/mount_linux.go6
-rw-r--r--weed/command/mount_notsupported.go (renamed from weed/command/mount2_notsupported.go)2
-rw-r--r--weed/command/mount_std.go (renamed from weed/command/mount2_std.go)0
5 files changed, 1 insertions, 15 deletions
diff --git a/weed/command/mount2.go b/weed/command/mount.go
index 545ba8a43..545ba8a43 100644
--- a/weed/command/mount2.go
+++ b/weed/command/mount.go
diff --git a/weed/command/mount_darwin.go b/weed/command/mount_darwin.go
index f0a5581e7..05d6a1bc4 100644
--- a/weed/command/mount_darwin.go
+++ b/weed/command/mount_darwin.go
@@ -1,13 +1,5 @@
package command
-import (
- "github.com/seaweedfs/fuse"
-)
-
-func osSpecificMountOptions() []fuse.MountOption {
- return []fuse.MountOption{}
-}
-
func checkMountPointAvailable(dir string) bool {
return true
}
diff --git a/weed/command/mount_linux.go b/weed/command/mount_linux.go
index 25c4f72cf..aebb14e61 100644
--- a/weed/command/mount_linux.go
+++ b/weed/command/mount_linux.go
@@ -6,8 +6,6 @@ import (
"io"
"os"
"strings"
-
- "github.com/seaweedfs/fuse"
)
const (
@@ -137,10 +135,6 @@ func parseInfoFile(r io.Reader) ([]*Info, error) {
return out, nil
}
-func osSpecificMountOptions() []fuse.MountOption {
- return []fuse.MountOption{}
-}
-
func checkMountPointAvailable(dir string) bool {
mountPoint := dir
if mountPoint != "/" && strings.HasSuffix(mountPoint, "/") {
diff --git a/weed/command/mount2_notsupported.go b/weed/command/mount_notsupported.go
index 075b73436..894c8e313 100644
--- a/weed/command/mount2_notsupported.go
+++ b/weed/command/mount_notsupported.go
@@ -8,7 +8,7 @@ import (
"runtime"
)
-func runMount2(cmd *Command, args []string) bool {
+func runMount(cmd *Command, args []string) bool {
fmt.Printf("Mount is not supported on %s %s\n", runtime.GOOS, runtime.GOARCH)
return true
diff --git a/weed/command/mount2_std.go b/weed/command/mount_std.go
index e53f9831e..e53f9831e 100644
--- a/weed/command/mount2_std.go
+++ b/weed/command/mount_std.go