"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
mount: disable mount for freebsd
Nick Craig-Woodaf8ba185806b
diff --git a/cmd/cmount/mount.go b/cmd/cmount/mount.goindex 9649b1be6..f6d86bdb5 100644--- a/cmd/cmount/mount.go+++ b/cmd/cmount/mount.go@@ -25,7 +25,7 @@ import (func init() {name := "cmount"- cmountOnly := ProvidedBy(runtime.GOOS)+ cmountOnly := runtime.GOOS != "linux" // rclone mount only works for linuxif cmountOnly {name = "mount"}diff --git a/cmd/mount/dir.go b/cmd/mount/dir.goindex 775edd4e6..4a6f939f6 100644--- a/cmd/mount/dir.go+++ b/cmd/mount/dir.go@@ -1,5 +1,5 @@-//go:build linux || freebsd-// +build linux freebsd+//go:build linux+// +build linuxpackage mountdiff --git a/cmd/mount/file.go b/cmd/mount/file.goindex 1a0ad6c28..f745dcc7b 100644--- a/cmd/mount/file.go+++ b/cmd/mount/file.go@@ -1,5 +1,5 @@-//go:build linux || freebsd-// +build linux freebsd+//go:build linux+// +build linuxpackage mountdiff --git a/cmd/mount/fs.go b/cmd/mount/fs.goindex ee5897e92..e81b2f078 100644--- a/cmd/mount/fs.go+++ b/cmd/mount/fs.go@@ -1,7 +1,7 @@// FUSE main Fs-//go:build linux || freebsd-// +build linux freebsd+//go:build linux+// +build linuxpackage mountdiff --git a/cmd/mount/handle.go b/cmd/mount/handle.goindex c3293acc3..65d344538 100644--- a/cmd/mount/handle.go+++ b/cmd/mount/handle.go@@ -1,5 +1,5 @@-//go:build linux || freebsd-// +build linux freebsd+//go:build linux+// +build linuxpackage mountdiff --git a/cmd/mount/mount.go b/cmd/mount/mount.goindex 9be432c5e..b32ba29ae 100644--- a/cmd/mount/mount.go+++ b/cmd/mount/mount.go@@ -1,5 +1,5 @@-//go:build linux || freebsd-// +build linux freebsd+//go:build linux+// +build linux// Package mount implements a FUSE mounting system for rclone remotes.package mountdiff --git a/cmd/mount/mount_test.go b/cmd/mount/mount_test.goindex 4e1d832a9..df4d02ec0 100644--- a/cmd/mount/mount_test.go+++ b/cmd/mount/mount_test.go@@ -1,5 +1,5 @@-//go:build linux || freebsd-// +build linux freebsd+//go:build linux+// +build linuxpackage mountdiff --git a/cmd/mount/mount_unsupported.go b/cmd/mount/mount_unsupported.goindex 84f8656dc..c2feafbc3 100644--- a/cmd/mount/mount_unsupported.go+++ b/cmd/mount/mount_unsupported.go@@ -1,10 +1,8 @@-//go:build !linux && !freebsd-// +build !linux,!freebsd+//go:build !linux+// +build !linux// Package mount implements a FUSE mounting system for rclone remotes.//// Build for mount for unsupported platforms to stop go complaining// about "no buildable Go source files".-//-// Invert the build constraint: linux freebsdpackage mount