Re: [CFR] reflect resolv.conf update to running application

From: Peter Jeremy (PeterJeremy_at_optushome.com.au)
Date: 08/23/05

  • Next message: Pawel Jakub Dawidek: "Re: New library: libpidfile."
    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"
    

  • Next message: Pawel Jakub Dawidek: "Re: New library: libpidfile."

    Relevant Pages