summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-04-02 08:58:53 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-04-02 08:58:53 +0000
commit3f9149c4595590f9dc0c14f8201b41656aa7c5d2 (patch)
treef04d370f3d0b97145aaacb4670627b86f68bd18e /mdk-stage1
parent62405341955f87f9159f499d371ba89e39c83d1a (diff)
downloaddrakx-backup-do-not-use-3f9149c4595590f9dc0c14f8201b41656aa7c5d2.tar
drakx-backup-do-not-use-3f9149c4595590f9dc0c14f8201b41656aa7c5d2.tar.gz
drakx-backup-do-not-use-3f9149c4595590f9dc0c14f8201b41656aa7c5d2.tar.bz2
drakx-backup-do-not-use-3f9149c4595590f9dc0c14f8201b41656aa7c5d2.tar.xz
drakx-backup-do-not-use-3f9149c4595590f9dc0c14f8201b41656aa7c5d2.zip
enable nfs install on old i586 machines (or maybe poor network cards) (bugzilla #9322) (thanks to Michael Riss)
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/nfsmount.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/mdk-stage1/nfsmount.c b/mdk-stage1/nfsmount.c
index 3d84badd4..0ec115095 100644
--- a/mdk-stage1/nfsmount.c
+++ b/mdk-stage1/nfsmount.c
@@ -339,11 +339,13 @@ int nfsmount_prepare(const char *spec, char **mount_opts)
/* Set default options.
- * rsize/wsize (and bsize, for ver >= 3) are left 0 in order to
- * let the kernel decide.
+ * rsize/wsize are set to 8192 to enable nfs install on
+ * old i586 machines
* timeo is filled in after we know whether it'll be TCP or UDP. */
memset(&data, 0, sizeof(data));
- data.retrans = 3;
+ data.rsize = 8192;
+ data.wsize = 8192;
+ data.retrans = 30;
data.acregmin = 3;
data.acregmax = 60;
data.acdirmin = 30;