From owner-freebsd-current Wed Oct 9 15:35:13 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA13835 for current-outgoing; Wed, 9 Oct 1996 15:35:13 -0700 (PDT) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA13802 for ; Wed, 9 Oct 1996 15:35:04 -0700 (PDT) Received: from current1.whistle.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.7.5/8.7.3) with SMTP id PAA20151; Wed, 9 Oct 1996 15:30:30 -0700 (PDT) Message-ID: <325C2710.167EB0E7@whistle.com> Date: Wed, 09 Oct 1996 15:28:32 -0700 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0b6 (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: sthaug@nethelp.no CC: luigi@labinfo.iet.unipi.it, henrich@crh.cl.msu.edu, danj@netcom.com, freebsd-current@FreeBSD.org Subject: Re: 961006-SNAP comments References: <199610091948.UAA04138@labinfo.iet.unipi.it> <7186.844899046@verdi.nethelp.no> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk sthaug@nethelp.no wrote: > > > > > user environment), but why /var? With newsyslog doing clean log rotations, var > > > > > > > theoretically to help run / as a readonly partition > > > on NFS systems or such and > > > have the 'variable' files on their own partition. > > > > just theoretically, since a lot of machine dependant stuff is in /etc. > > I'd actually like to do a readonly /, and it looks to me like it > should be possible: > > 1. Symlink those few variable files that are left, e.g. /etc/ntp.drift > and /etc/ssh_random_seed into /var/run. > > 2. Use DEVFS for the devices. > > Any reason why this wouldn't work? > > Steinar Haug, Nethelp consulting, sthaug@nethelp.no I've done this we throw the writable files in a writable partition and use symlinks.. vipw fails as it replaces the symlinks but otherwise it seems to work. devfs is the key, but you need to mount it from init. pester phk for teh right spot to do it..