Re: [CFR] reflect resolv.conf update to running application
From: Peter Jeremy (PeterJeremy_at_optushome.com.au)
Date: 08/23/05
- Previous message: Hajimu UMEMOTO: "Re: New library: libpidfile."
- In reply to: Matthew Reimer: "Re: [CFR] reflect resolv.conf update to running application"
- Next in thread: Dan Nelson: "Re: [CFR] reflect resolv.conf update to running application"
- Reply: Dan Nelson: "Re: [CFR] reflect resolv.conf update to running application"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 23 Aug 2005 17:47:43 +1000 To: Matthew Reimer <mreimer@vpop.net>
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 _______________________________________________ freebsd-arch@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Hajimu UMEMOTO: "Re: New library: libpidfile."
- In reply to: Matthew Reimer: "Re: [CFR] reflect resolv.conf update to running application"
- Next in thread: Dan Nelson: "Re: [CFR] reflect resolv.conf update to running application"
- Reply: Dan Nelson: "Re: [CFR] reflect resolv.conf update to running application"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|