Subject: Re: changing resolv.conf ?
To: None <itojun@iijlab.net>
From: Assar Westerlund <assar@netbsd.org>
List: tech-net
Date: 07/27/2001 04:13:14
itojun@iijlab.net writes:
> 	stat(2) won't try to access buffer cache...

No, but stating a cached vnode will not go out to disk.

> anyway,  i also fear there
> 	are applications that relies upon non-re-read of /etc/resolv.conf.
> 	i do this in operations - like, i want certain daemons to use
> 	nameserver A, while others to use nameserver B.  I change
> 	/etc/resolv.conf before invoking A, and after invoking A.

I don't think this behaviour was ever guaranteed and hence it's not
something that we need to keep.  Shouldn't your scenario be better
handled with chroot or setting an environment variable?

/assar