From owner-freebsd-hackers Mon Sep 8 15:40:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA11018 for hackers-outgoing; Mon, 8 Sep 1997 15:40:38 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA11010 for ; Mon, 8 Sep 1997 15:40:28 -0700 (PDT) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id XAA05402; Mon, 8 Sep 1997 23:35:32 +0100 (BST) Message-Id: <199709082235.XAA05402@awfulhak.demon.co.uk> X-Mailer: exmh version 2.0zeta 7/24/97 To: Doug White cc: Brian Somers , freebsd-hackers@FreeBSD.ORG Subject: Re: nfs startup - perhaps it is a problem In-reply-to: Your message of "Fri, 05 Sep 1997 23:43:30 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 08 Sep 1997 23:35:32 +0100 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > On Thu, 4 Sep 1997, Brian Somers wrote: > > > This has to be a dumb question, but I can't fathom it. > > > > /etc/rc sources /etc/rc.network and then runs network_pass1. > > Directly afterwards, it runs ``mount -a -t nfs''. > > > > However, network_pass3 (invoked much later) starts nfsiod along with > > the other nfs stuff. > > > > How is the ``mount -a -t nfs'' supposed to work ? > > nfsiod is more of a helper daemon for nfs; it'll still work without it. > mount -a -t nfs will mount all filesystems of type nfs; this is probably > necessary for diskless boots. The problem was that mount couldn't resolve the host names from fstab. This brings up two things: 1. Why is "mount -a -t nfs" redirected to /dev/null ? It seems happy if there are no nfs filesystems in fstab, so wouldn't it be better if we see any such errors ? 2. Should named be done in pass 1, or is it done this way because your named config files may be on an nfs drive ;-/ The whole thing is worked around nicely by putting a nameserver in resolv.conf or by reading /etc/hosts first and putting all your "close friends" in there. I think 1. should be done at least. > Doug White | University of Oregon > Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant > http://gladstone.uoregon.edu/~dwhite | Computer Science Major > Spam routed to /dev/null by Procmail | Death to Cyberpromo > -- Brian , Don't _EVER_ lose your sense of humour....