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

cmount: send a hint as to whether the filesystem is case insensitive or not

Nick Craig-Wood69888bf96623
diff --git a/cmd/cmount/mount.go b/cmd/cmount/mount.go
index 36985fdcb..78099f012 100644
--- a/cmd/cmount/mount.go
+++ b/cmd/cmount/mount.go
@@ -152,6 +152,7 @@ func mount(f fs.Fs, mountpoint string) (*vfs.VFS, <-chan error, func() error, er
if usingReaddirPlus {
host.SetCapReaddirPlus(true)
}
+ host.SetCapCaseInsensitive(f.Features().CaseInsensitive)
// Create options
options := mountOptions(f.Name()+":"+f.Root(), mountpoint)