From owner-freebsd-hackers Thu Oct 24 09:40:25 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA03901 for hackers-outgoing; Thu, 24 Oct 1996 09:40:25 -0700 (PDT) Received: from lassie.eunet.fi (lassie.eunet.fi [192.26.119.7]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id JAA03890 for ; Thu, 24 Oct 1996 09:40:14 -0700 (PDT) Received: from marathon.tekla.fi by lassie.eunet.fi with SMTP id AA01340 (5.67a/IDA-1.5 for ); Thu, 24 Oct 1996 19:36:14 +0300 Received: from poveri.tekla.fi by marathon.tekla.fi (5.65/20-jun-90) id AA27528; Thu, 24 Oct 1996 18:36:12 +0200 From: sja@tekla.fi (Sakari Jalovaara) Received: by poveri.tekla.fi; (5.65v3.2/1.1.8.2/20Aug96-0557PM) id AA18058; Thu, 24 Oct 1996 19:36:12 +0300 Date: Thu, 24 Oct 1996 19:36:12 +0300 Message-Id: <9610241636.AA18058@poveri.tekla.fi> To: hackers@FreeBSD.org Subject: Re: root only: (was Re: comments on this change please.) Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk If I understand correctly, the main reason for wanting a read-only root partition is that then we'd have a not-easily-corrupted partition for booting. Instead of moving most of /etc out of /etc, how about approaching the "problem" by trying to pick the set of files that are needed for booting before mounting /usr. Move a few files out of /etc into /sbin or wherever (first few lines of /etc/rc, network initialization for diskless systems, a file that tells where to fsck&mount /usr from). (/setc? Yecch.) Most of /etc could then be left as it is, except it would live in /usr (or /var?). /etc would be a symlink to /usr/etc. Booting would look like: mount / run /sbin/mother-of-all-rc's -- which does the rest: run ccdconfig fsck /usr mount /usr run /etc/rc (which is like now except it doesn't run fsck.) ++sja