mirror of
https://github.com/rclone/rclone.git
synced 2024-11-21 16:03:29 +01:00
nfsmount: add tcp option to NFS mount options to fix mounting under Linux
This commit is contained in:
parent
7c02a63884
commit
96f92b7364
@ -57,6 +57,7 @@ func mount(VFS *vfs.VFS, mountpoint string, opt *mountlib.Options) (asyncerrors
|
||||
options := []string{
|
||||
"-o", fmt.Sprintf("port=%s", port),
|
||||
"-o", fmt.Sprintf("mountport=%s", port),
|
||||
"-o", "tcp",
|
||||
}
|
||||
for _, option := range opt.ExtraOptions {
|
||||
options = append(options, "-o", option)
|
||||
|
Loading…
Reference in New Issue
Block a user