From owner-freebsd-net Mon Feb 5 23:29:57 2001 Delivered-To: freebsd-net@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 7295737B6B3 for ; Mon, 5 Feb 2001 23:29:37 -0800 (PST) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.1/8.11.1) id f167TTp35897; Mon, 5 Feb 2001 23:29:29 -0800 (PST) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200102060729.f167TTp35897@iguana.aciri.org> Subject: Re: diskless boot ... In-Reply-To: ll double entries in /var/db/mounttab when "rpc.umntall" is invoked To: thierry.herbelot@free.fr (Thierry Herbelot) Date: Mon, 5 Feb 2001 23:29:29 -0800 (PST) Cc: rizzo@aciri.org, Thierry.Herbelot@alcatel.fr, freebsd-net@FreeBSD.ORG, hanges@aciri.org, are:@FreeBSD.ORG Action: st patch recieved from dan ) Reply-To: pc.umntall@aciri.org, timeout@aciri.org, has@aciri.org, been@aciri.org, lowered@aciri.org, from@aciri.org, two@aciri.org, days@aciri.org (too high), to@aciri.org, one@aciri.org X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Luigi Rizzo wrote: > > > > in your rc.conf or rc.conf.local, you should set > > > > early_nfs_mounts="YES" > > Well : (I don't find this knob in a recent -Stable machine - it is > indeed in the examples) > multi# cd /etc > multi# grep early rc* > rc:# BOOTP diskless boot. We have to run the rc file early in order to > rc:# Set sysctl variables as early as we can > rc.network: # Establish ipfilter ruleset as early as possible (best > in > rc.network6: # Choose IPv6 default interface if it is not clearly > specified. > multi# uname -a > FreeBSD multi.XXX.YYY 4.2-STABLE FreeBSD 4.2-STABLE #0: Mon Jan 1 > 14:05:12 CET 2001 > root@multi.XXX.YYY:/files3/recup4/obj/files3/recup4/src/sys/multi i386 > multi# > > this exists on a 3.5-Stable machine : (in /etc/rc) > if [ "X$early_nfs_mounts" != "XYES" ]; then > mount -a -t nonfs > else > mount -a > fi > > early_nfs_mounts was removed with revision 1.209 of rc > () > > TfH > > > > > so that /usr and friends are mounted before rc.diskless2 > > is invoked. This has worked for me at least in 3.1-something > > (the scripts in the CVS repository derive from the setup > > i have prepared on that version). > > > > not sure about the /var/db/mounttab problem because i do not > > see this file on my 4.x system, and > > > > strings `which mount` | grep mount > > > > does not reveal any reference to that file... maybe it > > is a -CURRENT thing ? > > > > cheers > > luigi > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message