[git commit] mount: for NFS use tcp per default rather than udp
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Wed May 4 17:03:30 UTC 2011
commit: http://git.busybox.net/busybox/commit/?id=882062915d52581fb754e5721addca72aa789ab7
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
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 at gmail.com>
---
util-linux/mount.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 3e2ba1f..6a154e2 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -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;
--
1.7.3.4
More information about the busybox-cvs
mailing list