Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Aug 2003 16:00:42 -0600
From:      John E Hein <jhein@timing.com>
To:        Neal Nelson <neal@nelsonnet.org>
Cc:        freebsd-small@freebsd.org
Subject:   Discless 5.1
Message-ID:  <16197.16650.310906.293084@gromit.timing.com>
In-Reply-To: <F1048B2C-D3D5-11D7-88F9-000393A6E2B0@nelsonnet.org>
References:  <F1048B2C-D3D5-11D7-88F9-000393A6E2B0@nelsonnet.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16197.16650.310906.293084>