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:
Bernhard Reutner-Fischer 2011-05-04 19:03:30 +02:00
parent 7945808c87
commit 882062915d

View File

@ -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;