Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Aug 2005 17:47:43 +1000
From:      Peter Jeremy <PeterJeremy@optushome.com.au>
To:        Matthew Reimer <mreimer@vpop.net>
Cc:        arch@freebsd.org
Subject:   Re: [CFR] reflect resolv.conf update to running application
Message-ID:  <20050823074743.GC37107@cirb503493.alcatel.com.au>
In-Reply-To: <200508221318.46908.mreimer@vpop.net>
References:  <200508221318.46908.mreimer@vpop.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2005-Aug-22 13:18:46 -0700, Matthew Reimer wrote:
>How about just stat'ing resolv.conf if more than X seconds has passed since 
>the last stat, rather than for every lookup?

That reduces the number of stat() calls but doesn't resolve the possibility
of reading a half-written resolv.conf.

-- 
Peter Jeremy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050823074743.GC37107>