Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Feb 2006 09:35:44 -0800
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Dmitry Morozovsky <marck@rinet.ru>
Cc:        freebsd-rc@freebsd.org
Subject:   Re: /etc/rc.d/earlyroot (fwd)
Message-ID:  <20060222173544.GB7744@odin.ac.hmc.edu>
In-Reply-To: <20060222085814.U85700@woozle.rinet.ru>
References:  <20060222085814.U85700@woozle.rinet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--f2QGlHpHGjS2mn6Y
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Feb 22, 2006 at 09:03:25AM +0300, Dmitry Morozovsky wrote:
> Dear colleagues,
>=20
> what about creating the following rc.d script?=20
>=20
> There are situations where you should modify something on a root partitio=
n, and=20
> console is not available; early.sh is not suitable because when it execut=
es=20
> root is mounted r/o, and duplicating /etc/rc.d/root functionality in=20
> /etc/rc.early or invoking it from there does not seem elegant nor appropr=
iate=20
> to me.
>=20
> You thoughts?

The continued existance on /etc/rc.d/early.sh is a mistake which should
be corrected so adding another version doesn't seem useful.  If you need
to do something early on, you can simply drop a script in /etc/rc.d
similar to the one you propsed except with actual content.  A large part
of the point of the rc system is to allow this sort of thing.

-- Brooks

--=20
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

--f2QGlHpHGjS2mn6Y
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFD/KDwXY6L6fI4GtQRAiLjAJ9nazCWLFRo9r/Kze8Y9U8fKumZmgCgq0x8
te1tEjljkJxEXNKGbnKcydI=
=NTF5
-----END PGP SIGNATURE-----

--f2QGlHpHGjS2mn6Y--



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