"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
rclone.mount: ignore _netdev mount argument - FIxes #5808
Hugal31a36fef8a66cf
diff --git a/fs/mount_helper.go b/fs/mount_helper.goindex 884b1f67c..f45b85895 100644--- a/fs/mount_helper.go+++ b/fs/mount_helper.go@@ -208,7 +208,7 @@ func parseHelperOptionString(optString string) (opts []string, err error) {if len(param) == 0 {return nil, errHelperEmptyOption}- if param[0] == '-' || param[0] == '_' {+ if param[0] == '-' {return nil, errHelperOptionName}prev = i + 1diff --git a/fs/mount_helper_test.go b/fs/mount_helper_test.goindex 00c4fba79..3235b1195 100644--- a/fs/mount_helper_test.go+++ b/fs/mount_helper_test.go@@ -20,7 +20,7 @@ func TestMountHelperArgs(t *testing.T) {src: []string{},dst: []string{"mount", "--daemon"},}, {- src: []string{"-o", `x-systemd.automount,vvv,env.HTTPS_PROXY="a b;c,d?EF",ro,rw,args2env`},+ src: []string{"-o", `x-systemd.automount,vvv,env.HTTPS_PROXY="a b;c,d?EF",ro,rw,args2env,_netdev`},dst: []string{"mount", "--read-only", "--verbose=3", "--daemon"},env: "HTTPS_PROXY=a b;c,d?EF",}}