Subject: Re: re-reading /etc/resolv.conf on change To: None <tech-userlevel@NetBSD.org> From: Martin Husemann <martin@duskware.de> List: tech-userlevel Date: 12/30/2003 13:47:43
How about stat'ing /etc/resolv.conf, opening the kqueue on it *and* /etc
always and checking the stat values on every kqueue event?
Seems like that way all failure modes discussed so far could be easily
detected.
Martin