diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-04-02 08:58:53 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-04-02 08:58:53 +0000 |
commit | 3f9149c4595590f9dc0c14f8201b41656aa7c5d2 (patch) | |
tree | f04d370f3d0b97145aaacb4670627b86f68bd18e /mdk-stage1 | |
parent | 62405341955f87f9159f499d371ba89e39c83d1a (diff) | |
download | drakx-3f9149c4595590f9dc0c14f8201b41656aa7c5d2.tar drakx-3f9149c4595590f9dc0c14f8201b41656aa7c5d2.tar.gz drakx-3f9149c4595590f9dc0c14f8201b41656aa7c5d2.tar.bz2 drakx-3f9149c4595590f9dc0c14f8201b41656aa7c5d2.tar.xz drakx-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.c | 8 |
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; |