Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Oct 2010 10:35:19 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Tim Dunphy <bluethundr@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: can't add entries to fsab
Message-ID:  <alpine.BSF.2.00.1010311030440.9437@wonkity.com>
In-Reply-To: <AANLkTiniP2nPLTc4cj8Y569UfVyGryR8LqT3bx=jhQaH@mail.gmail.com>
References:  <AANLkTikS7vt8zFD-4hvTqpf27%2BHED4GWL34PfNYYG9s5@mail.gmail.com> <alpine.BSF.2.00.1010301805490.6585@wonkity.com> <AANLkTikmtnU%2B%2BjepVwd-=rv4b6QTq5eLpK2mRa9LSrWe@mail.gmail.com> <alpine.BSF.2.00.1010310955360.9357@wonkity.com> <AANLkTiniP2nPLTc4cj8Y569UfVyGryR8LqT3bx=jhQaH@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 31 Oct 2010, Tim Dunphy wrote:

>>> So I tried referring to the mount by the IP address rather than the
>>> DNS name, and that fixed it.. I suppose I could setup the order in
>>> which the services load in /etc/rc.d/ by pre-pending each one with
>>> numbers (i.e. 00netif 01named 02syslogd...etc etc).
>>
>> Changing that order is not easy, there are internal dependencies. Forcing
>> the startup to wait for DHCP in /etc/rc.conf may be enough:
>>
>> ifconfig_re0="SYNCDHCP"
>>
>> re0 used for example, change to whatever interface you have.

> oh ok, thanks good thing I saw this before I got to long in this
> process. I backed up the /etc/rc.d directory and started re-ordering
> things like this:
>
> 000netif
> 001netoptions
> 002routing
> 003network_ipv6
...

[Please don't top-post, it makes responding more work.]

Look at the PROVIDE and REQUIRE keywords in those files.  They aren't 
executed in filename order.

> 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...

I thought mountlate would be late enough.  It may depend on your network 
card, some are slow to wake up or associate.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1010311030440.9437>