On Sun, 31 Oct 2010 12:11:31 -0400, Tim Dunphy <bluethu...@gmail.com> wrote:
>  Actually this machine isn't on DHCP, it's statically assigned. My
> basic goal is to get the box to the point where it can resolve DNS
> before it mounts the contents of /etc/fstab...

In case the interface is already up at mount time, you can
maybe use the /etc/hosts mechanisms to assign hostnames to
the IPs you're refering to in /etc/fstab, so you can use
hostnames or aliases there which will then automatically
be resolved.



> do you have any suggestions on how best to achieve this goal?

You can write your own "NFS mount wrapper" and place it into
/usr/local/etc/rc.d; use a template from /etc/rc.d and check
the keywords for REQUIRE that you'll need (references to
interfaces and maybe routing). Then add a _enable="YES" for
your script in /etc/rc.conf and it will be started by the
system when the requirements (indicated by keywords) are
met. There is no need to exactly define this as a point in
time in a given order.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to