From owner-freebsd-current Tue Apr 23 10:42:18 2002 Delivered-To: freebsd-current@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id C2EC037B41A; Tue, 23 Apr 2002 10:42:04 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g3NHftYm006208; Tue, 23 Apr 2002 10:41:55 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g3NHeeII006012; Tue, 23 Apr 2002 10:40:40 -0700 (PDT) Date: Tue, 23 Apr 2002 10:40:40 -0700 From: "David O'Brien" To: Danny Braniss Cc: Robert Watson , Terry Lambert , Freebsd Current Subject: Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting Message-ID: <20020423104040.A2524@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from danny@cs.huji.ac.il on Tue, Apr 23, 2002 at 08:32:51PM +0300 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Apr 23, 2002 at 08:32:51PM +0300, Danny Braniss wrote: > > On Tue, Apr 23, 2002 at 12:19:58PM -0400, Robert Watson wrote: > > > diskless_root_readonly="NO" # Make it "YES" for readonly > > > > good. > > > > > diskless_etc_localmd="NO" # Make it "YES" to have the > > > # diskless environment md-mount and replicate /etc from /conf > > > > Seems the "if [ -d ]" tests in rc.diskless are OK already. If we add > > this knob, then a knob should also be added for the source of the files > > rather than assuming /conf/etc or /conf/{client}/etc. In other words > > either really engineer this to make diskless properly configurable, or > > have the minimal number of knobs, etc. > > nice, but impractical, because of the chicken and egg problem, or in other > words, the load/over-write of rc.conf[.local] happens a bit later ... Please explain farther what is impractical and where the chicken-and-egg problem is. I rc.diskless1 already has: if [ -d /conf/default/etc ]; then ..snip.. if [ -d /conf/${i}/etc ]; then To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message