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

This commit is contained in:
Nick Craig-Wood 2020-05-01 18:35:32 +01:00
parent d260238f99
commit 69888bf966
1 changed files with 1 additions and 0 deletions

View File

@ -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)