From owner-freebsd-hackers Tue Sep 16 17:11:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA28965 for hackers-outgoing; Tue, 16 Sep 1997 17:11:53 -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 RAA28960; Tue, 16 Sep 1997 17:11:49 -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 AAA22852; Wed, 17 Sep 1997 00:48:05 +0100 (BST) Message-Id: <199709162348.AAA22852@awfulhak.demon.co.uk> X-Mailer: exmh version 2.0zeta 7/24/97 To: Greg Lehey cc: Brian Somers , freebsd-questions@FreeBSD.ORG, FreeBSD Hackers Subject: Re: nfs startup In-reply-to: Your message of "Tue, 16 Sep 1997 10:59:40 +0930." <19970916105940.15713@lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 17 Sep 1997 00:48:04 +0100 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > On Thu, Sep 04, 1997 at 11:31:48PM +0100, 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. > > You don't need nfsiod for mounting, but you do need to resolve the > names. If you're running a name server, I don't think it's reasonable > to expect an /etc/hosts entry for each system you're mounting NFS file > systems from. Unfortunately, named doesn't get started until > network_pass2, so this can't work in a name server environment. > > Here's a suggested patch: [.....] But what about starting named in network_pass1 ? > The & after the mount command is to let it continue to try to mount > file systems on systems which are not currently up; otherwise system > startup will hang at this point. As you see, I also agree with the > sentiment that the messages should be seen. I've already removed the /dev/null bit, and agree that the & is a good idea too. > Greg -- Brian , , Don't _EVER_ lose your sense of humour....