I currently have a busybox based embedded linux system. The filesystem is a readonly mounted jffs2 filesystem. One problem I've run into is that /etc/resolv.conf can't be updated by DHCP.
Is it possible to use a different file than /etc/resolv.conf, say /tmp/resolv.conf (/tmp is mounted as tmpfs).
Or am I being overly paranoid in mounting JFFS2 as read only? The root filesystem is read only because I don't want to wear out the flash.
/vardirectory pointing too? I've seen a/var/run/resolv.confwith/etc/resolv.confpointing to it. And from the resolv.conf manpage:On a normally configured system this file should not be necessary. The only name server to be queried will be on the local machine; .... :-)/varis a readonly directory, and inside it there is a folder calledvolatile, which is mounted astmpfs. There are a bunch of folders that are symlinks to folders inside/var/volatile./tmpfor example is a symlink to/var/volatile/tmp. I think that the filesystem was meant to be mounted as read/write, but I've chosen to mount it readonly.