Why is /etc/resolv.conf on tmpfs?

Dirk Bergstrom openmoko at otisbean.com
Sat Aug 9 02:05:28 CEST 2008

I thought that resolv.conf was getting wiped out at every boot.  Turns 
out that by default it's a symlink to /var/run/resolv.conf, which is 
mounted on /var/volatile, a tmpfs filesystem.

Is there some really good reason for this, or can I just wipe out the 
symlink and make it a file in /etc?  I'm tired of having to put my 
nameserver in there every time I fire up the phone.

       Dirk Bergstrom           krid at otisbean.com

More information about the support mailing list