[NTLUG:Discuss] Rebuilding (G)libc from an SRPM
George Lass
George.Lass at osc.com
Fri Sep 24 09:09:35 CDT 2004
The timeout stuff for NFS is in:
/usr/src/redhat/BUILD/glibc-2.2.93/sunrpc/pm_getport.c
=================================================
#include <rpc/rpc.h>
#include <rpc/pmap_prot.h>
#include <rpc/pmap_clnt.h>
#include <sys/socket.h>
static const struct timeval timeout =
{5, 0};
static const struct timeval tottimeout =
{60, 0};
==============================================
The system in question, once booted, will
be writing several records each second to the server
that it is trying to NFS mount. I really don't know
much about aoutomounter, but I would *guess* that it
uses the same timeout that NFS mount uses. If that is
the case, I would just as soon get the waiting out of
the way at startup time. But the bottom line is that this
system has been in use since RedHat 4.2 which I think
pre-dates automounter. Even so, we'll give it a look and
see if automounter has any advantages over the standard NFS
mount at startup.
Thanks,
George
"Bryan J. Smith" wrote:
> Which is fixed to 60 seconds. Didn't know it was in GLibC, very
> interesting (I learn something new everyday).
>
> Is there any reason you can't take advantage of the automounter?
> That way mount is not attempted until the NFS mount is actually
> accessed?
More information about the Discuss
mailing list