From owner-freebsd-hackers Fri Jan 13 07:34:45 1995 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id HAA11839 for hackers-outgoing; Fri, 13 Jan 1995 07:34:45 -0800 Received: from seagull.rtd.com (root@Seagull.rtd.com [198.102.68.2]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id HAA11833 for ; Fri, 13 Jan 1995 07:34:44 -0800 Received: (from dgy@localhost) by seagull.rtd.com (8.6.9/8.6.9.1) id IAA26166; Fri, 13 Jan 1995 08:34:15 -0700 From: Don Yuniskis Message-Id: <199501131534.IAA26166@seagull.rtd.com> Subject: Re: About readonly root partition To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Date: Fri, 13 Jan 1995 08:34:12 -0700 (MST) Cc: freebsd-hackers@freefall.cdrom.com (FreeBSD hackers) In-Reply-To: <199501131351.OAA00429@labinfo.iet.unipi.it> from "Luigi Rizzo" at Jan 13, 95 02:51:51 pm X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 555 Sender: hackers-owner@FreeBSD.org Precedence: bulk > So, How about letting "init" look for "/rc" instead/before > looking for /etc/rc ? This would help in having the following: > > 1) a main "rc" is called, which does the initial checks; > 2) mounts the proper filesystem onto /etc; > 3) passes control to /etc/rc > > With the current setting, the above might still work except that, once > the new /etc is mounted, the original /etc/rc is no more readable. Why not just hack /etc/rc to source /writeablefs/foorc which contains the "variable" (machine specific) stuff? Or, have I missed something?