Date: Mon, 5 Feb 2001 23:29:29 -0800 (PST) From: Luigi Rizzo <rizzo@aciri.org> To: thierry.herbelot@free.fr (Thierry Herbelot) Cc: rizzo@aciri.org, Thierry.Herbelot@alcatel.fr, freebsd-net@FreeBSD.ORG, hanges@aciri.org, are:@FreeBSD.ORG Subject: Re: diskless boot ... Message-ID: <200102060729.f167TTp35897@iguana.aciri.org> In-Reply-To: ll double entries in /var/db/mounttab when "rpc.umntall" is invoked
next in thread | raw e-mail | index | archive | help
> 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 > (<http://www.FreeBSD.org/cgi/cvsweb.cgi/src/etc/rc?rev=1.209&content-type=text/x-cvsweb-markup>) > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102060729.f167TTp35897>