From 3286d1992bf2a7487765faee5088bef5560ff767 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Fri, 24 Jul 2020 15:41:31 +0100 Subject: [PATCH] mount: warn macOS users that mount implementation is changing #4393 --- cmd/mount/mount.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmd/mount/mount.go b/cmd/mount/mount.go index 8886bae6d..a9821ecae 100644 --- a/cmd/mount/mount.go +++ b/cmd/mount/mount.go @@ -6,6 +6,7 @@ package mount import ( "fmt" + "runtime" "bazil.org/fuse" fusefs "bazil.org/fuse/fs" @@ -78,6 +79,10 @@ func mountOptions(VFS *vfs.VFS, device string, opt *mountlib.Options) (options [ // returns an error, and an error channel for the serve process to // report an error when fusermount is called. func mount(VFS *vfs.VFS, mountpoint string, opt *mountlib.Options) (<-chan error, func() error, error) { + if runtime.GOOS == "darwin" { + fs.Logf(nil, "macOS users: please try \"rclone cmount\" as it will be the default in v1.54") + } + if opt.DebugFUSE { fuse.Debug = func(msg interface{}) { fs.Debugf("fuse", "%v", msg)