nfsmount: add tcp option to NFS mount options to fix mounting under Linux
This commit is contained in:
parent
7c02a63884
commit
96f92b7364
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue