mirror of
https://github.com/sheumann/hush.git
synced 2024-10-29 20:27:40 +00:00
mount: for NFS use tcp per default rather than udp
nfs-utils's mount.nfs uses TCP per default unless explicitly asked for otherwise. This is also the expected behaviour for NFSv4, so ok there, too. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
This commit is contained in:
parent
7945808c87
commit
882062915d
@ -1195,7 +1195,7 @@ static NOINLINE int nfsmount(struct mntent *mp, long vfsflags, char *filteropts)
|
||||
noac = 0;
|
||||
nordirplus = 0;
|
||||
retry = 10000; /* 10000 minutes ~ 1 week */
|
||||
tcp = 0;
|
||||
tcp = 1; /* nfs-utils uses tcp per default */
|
||||
|
||||
mountprog = MOUNTPROG;
|
||||
mountvers = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user