Newer nfs-utils and mount.nfs use tcp by default. If we don't in our own mounting code we will not be able to mount the share. This change just duplicates the same change made in busybox to make mounting function again. --- isys/nfsmount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/isys/nfsmount.c b/isys/nfsmount.c index 21ad20d..ba63e92 100644 --- a/isys/nfsmount.c +++ b/isys/nfsmount.c @@ -355,7 +355,7 @@ int nfsmount(const char *spec, const char *node, int *flags, nolock = 0; noac = 0; retry = 10000; /* 10000 minutes ~ 1 week */ - tcp = 0; + tcp = 1; /* nfs-utils uses tcp per default */
mountprog = MOUNTPROG; mountvers = 0;
isys/nfsmount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/isys/nfsmount.c b/isys/nfsmount.c index 21ad20d..ba63e92 100644 --- a/isys/nfsmount.c +++ b/isys/nfsmount.c @@ -355,7 +355,7 @@ int nfsmount(const char *spec, const char *node, int *flags, nolock = 0; noac = 0; retry = 10000; /* 10000 minutes ~ 1 week */
- tcp = 0;
tcp = 1; /* nfs-utils uses tcp per default */
mountprog = MOUNTPROG; mountvers = 0;
Oh, how I don't miss these days. ACK.
- Chris
anaconda-patches@lists.fedorahosted.org