cmount: pass --FileSystemName under windows

This commit is contained in:
Nick Craig-Wood 2017-05-10 09:20:09 +01:00
parent 763facfd78
commit 0384364c3e

View File

@ -188,6 +188,7 @@ func mountOptions(device string, mountpoint string) (options []string) {
// These cause WinFsp to mean the current user // These cause WinFsp to mean the current user
options = append(options, "-o", "uid=-1") options = append(options, "-o", "uid=-1")
options = append(options, "-o", "gid=-1") options = append(options, "-o", "gid=-1")
options = append(options, "--FileSystemName=rclone")
} }
if allowNonEmpty { if allowNonEmpty {