From owner-freebsd-small@FreeBSD.ORG Thu Aug 21 15:00:46 2003 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A499D16A4BF for ; Thu, 21 Aug 2003 15:00:46 -0700 (PDT) Received: from Daffy.timing.com (mx1.timing.com [206.168.13.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id B097C43FD7 for ; Thu, 21 Aug 2003 15:00:45 -0700 (PDT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by Daffy.timing.com (8.11.3/8.11.3) with ESMTP id h7LM0i566895; Thu, 21 Aug 2003 16:00:44 -0600 (MDT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.12.6p2/8.12.6) with ESMTP id h7LM0goK060898; Thu, 21 Aug 2003 16:00:42 -0600 (MDT) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.12.6p2/8.12.6/Submit) id h7LM0g6I060895; Thu, 21 Aug 2003 16:00:42 -0600 (MDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16197.16650.310906.293084@gromit.timing.com> Date: Thu, 21 Aug 2003 16:00:42 -0600 From: John E Hein To: Neal Nelson In-Reply-To: References: X-Mailer: VM 7.03 under Emacs 21.1.1 cc: freebsd-small@freebsd.org Subject: Discless 5.1 X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Aug 2003 22:00:47 -0000 Neal Nelson wrote at 14:49 +0200 on Aug 21: > I've been using FreeBSD-Stable for some time on my CompactFlash based > firewall. I was thinking of moving to FreeBSD-5.1 but the rc system has > changed. Does anyone know how to set up a discless 5.12 system like > using rc.diskless2 on -stable? Here's a hack that worked okay for me (creates and populates a /var memory file sys at boot)... - on the compact flash, cp etc/rc.d/diskless etc/rc.d/diskless2 - Add 'dlv=1' after the 'dlv=`sysctl ...' line The existing diskless rc scripts in 5.x are geared toward nfs diskless clients. I have yet to look in detail at creating an rc script that is tailored for a read-only / & /usr that are local (e.g., on the compact flash), but the above got me running. > As an aside: does anyone know if it's possible to compile a 5.1 world > on -stable? Mine seems to fail and I don't want to upgrade my server > until 5 goes stable. Building yesterday's -current on 4.8 worked okay for me.