Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

mount: warn macOS users that mount implementation is changing #4393

Nick Craig-Wood3286d1992bf2
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)