Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jan 1995 14:51:51 +0100 (MET)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        hackers@FreeBSD.org
Subject:   About readonly root partition
Message-ID:  <199501131351.OAA00429@labinfo.iet.unipi.it>

next in thread | raw e-mail | index | archive | help
(Already posted this to -questions, but got no comments at all!)

In the interest of better support for diskless and in general for
multiple installations, it seems to me that it would be nice if
/etc were *not* on the same filesystem as root, but rather in /var or
some other location, so that each machine can have its own copy.
Unfortunately, "init" looks for "rc" in "/etc", so mounting a new
filesystem on /etc would as a minimum make the original "/etc/rc"
unreadable, making it very difficult to modify it. At the same time,
people are probably too much used to the existence of "/etc/rc" to move
it somewhere else.
	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.

	Luigi
====================================================================
Luigi Rizzo                     Dip. di Ingegneria dell'Informazione
email: luigi@iet.unipi.it       Universita' di Pisa
tel: +39-50-568533              via Diotisalvi 2, 56126 PISA (Italy)
fax: +39-50-568522
====================================================================



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