Re: [probably OT] how to switch between wired and wireless

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 6 Jun 2003, Chris Adams wrote:

> Once upon a time, Neal D. Becker <nbecker@xxxxxxx> said:
> > On Friday 06 June 2003 10:13 am, John Haxby wrote:
> > > The second part is slightly harder -- the resolver library needs to
> > > check to see if /etc/resolv.conf has changed and if it has, it needs to
> > > re-load it.
> >
> > Not sure what you mean here.  If you change /etc/resolv.conf the result is
> > immediately seen when a new program is run.  Do you mean that you also want
> > an already running program to see the change?  (I'm not sure what the current
> > behaviour is in this case).
>
> The behaviour is that running programs continue to use to previous
> contents of /etc/resolv.conf.  This can be a real problem, as that
> includes things like syslogd (some versions basically hang when they
> can't resolve IPs, and that can cause all kinds of other programs to
> hang when they try to log something).
>
> It would be nice if the resolver library would stat() /etc/resolv.conf
> periodically (no more than once per minute) to see if there has been a
> change.

Oh, no, On a laptop, wouldn't that mean you'd never get to spin the disk
down?  (Like the wireless monitor bug that keeps re-reading the image
files every few seconds.)  It would be nice if there were some other way
to tell that the resolver needed to reload.

Any idea how (or if) OSX does it?

-- 
		Matthew Saltzman

Clemson University Math Sciences
mjs@xxxxxxxxxxx
http://www.math.clemson.edu/~mjs




[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux