mirror of
https://github.com/rclone/rclone.git
synced 2025-06-20 03:37:50 +02:00
cmount: use network mode by default on windows
This commit is contained in:
parent
19e8c8d42a
commit
11443e4491
@ -111,7 +111,7 @@ func handleLocalMountpath(f fs.Fs, mountpath string, opt *mountlib.Options) (str
|
||||
// Drive letter string can be used as is, since we have already checked it does not exist,
|
||||
// but directory path needs more checks.
|
||||
if opt.NetworkMode {
|
||||
fs.Errorf(nil, "Ignoring --network-mode as it is not supported with directory mountpoint")
|
||||
fs.Debugf(nil, "Ignoring --network-mode as it is not supported with directory mountpoint")
|
||||
opt.NetworkMode = false
|
||||
}
|
||||
var err error
|
||||
|
@ -57,6 +57,7 @@ var DefaultOpt = Options{
|
||||
NoAppleDouble: true, // use noappledouble by default
|
||||
NoAppleXattr: false, // do not use noapplexattr by default
|
||||
AsyncRead: true, // do async reads by default
|
||||
NetworkMode: true, // use network mode by default (Windows only)
|
||||
}
|
||||
|
||||
type (
|
||||
|
Loading…
x
Reference in New Issue
Block a user