From owner-freebsd-questions@FreeBSD.ORG Sun Oct 31 15:58:23 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A831F1065670 for ; Sun, 31 Oct 2010 15:58:23 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 4B0D08FC1B for ; Sun, 31 Oct 2010 15:58:23 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id o9VFwM1I009367; Sun, 31 Oct 2010 09:58:22 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id o9VFwMis009364; Sun, 31 Oct 2010 09:58:22 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 31 Oct 2010 09:58:22 -0600 (MDT) From: Warren Block To: Tim Dunphy In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-902635197-1243713345-1288540702=:9357" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Sun, 31 Oct 2010 09:58:22 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: can't add entries to fsab X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Oct 2010 15:58:23 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---902635197-1243713345-1288540702=:9357 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8BIT On Sun, 31 Oct 2010, Tim Dunphy wrote: > On Sat, Oct 30, 2010 at 8:10 PM, Warren Block wrote: >> On Sat, 30 Oct 2010, Tim Dunphy wrote: >> >>> I am having some trouble adding entries to /etc/fstab.. what happens >>> to work under CentOS does not under FreeBSD!! no surprise there, I >>> suppose.. heh >>> >>> >>> I have nfs_client_enable="YES" in my /etc/rc.conf >>> >>> Yet if I add even one line such as >>> >>> nas2.summitnhome.com:/mnt/home   /home    nfs rw  0   0 >>> >>> the system refuses to boot normally and I have to add the path to >>> /bin//sh manually each time >> >> Add the "late" option ('man mount | less +3/late') to the rw option in that >> line: >> >> nas2.summitnhome.com:/mnt/home   /home    nfs rw,late  0   0 >> >>> why on Earth can I not add entries to fstab as I do to CentOS?? >> >> Beyond knowing that they're different, dunno.  Maybe the async DHCP in >> FreeBSD is different. > > thanks!! Yeah I tried adding the late option, but that didn't change > anything. But then I thought that perhaps DNS was not loaded by the > time the fstab is parsed making any DNS style mounts render the > machine unbootable in normal mode. > > 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. ---902635197-1243713345-1288540702=:9357--