From owner-freebsd-hackers Fri Sep 19 23:55:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA17911 for hackers-outgoing; Fri, 19 Sep 1997 23:55:38 -0700 (PDT) Received: from minor.stranger.com (stranger.vip.best.com [204.156.129.250]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA17901 for ; Fri, 19 Sep 1997 23:55:28 -0700 (PDT) Received: from dog.farm.org (dog.farm.org [207.111.140.47]) by minor.stranger.com (8.8.5/8.6.12) with ESMTP id XAA08510; Fri, 19 Sep 1997 23:20:29 -0700 (PDT) Received: (from dk@localhost) by dog.farm.org (8.7.5/dk#3) id XAA00534; Fri, 19 Sep 1997 23:19:50 -0700 (PDT) Date: Fri, 19 Sep 1997 23:19:50 -0700 (PDT) From: Dmitry Kohmanyuk Message-Id: <199709200619.XAA00534@dog.farm.org> To: grog@lemis.com (Greg Lehey) Cc: freebsd-hackers@freebsd.org Subject: Re: nfs startup Newsgroups: cs-monolit.gated.lists.freebsd.hackers Organization: FARM Computing Association Reply-To: dk+@ua.net X-Newsreader: TIN [version 1.2 PL2] Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In article <19970916105940.15713@lemis.com> you wrote: > 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. You mean that you expect somebody to run named and have this named at the _only_ nameserver available and making this machine NFS client? I don't see this situation as very typical... If there is other name servers on the network, list them in /etc/resolv.conf (and if the network with lots of NFS servers has only one name server, this is much more dangerous situation). OTOH, imagine system which NFS mounts /usr . (named is in /usr ) -- "- Why are we hiding from the police dad? - They use EMACS son. We use vi." --- Peter Gutmann