From owner-freebsd-rc@FreeBSD.ORG Wed Feb 22 17:35:46 2006 Return-Path: X-Original-To: freebsd-rc@freebsd.org Delivered-To: freebsd-rc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FC4316A420 for ; Wed, 22 Feb 2006 17:35:46 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 025DE43D45 for ; Wed, 22 Feb 2006 17:35:45 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id k1MHZjX2008692; Wed, 22 Feb 2006 09:35:45 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id k1MHZiBW008690; Wed, 22 Feb 2006 09:35:44 -0800 Date: Wed, 22 Feb 2006 09:35:44 -0800 From: Brooks Davis To: Dmitry Morozovsky Message-ID: <20060222173544.GB7744@odin.ac.hmc.edu> References: <20060222085814.U85700@woozle.rinet.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="f2QGlHpHGjS2mn6Y" Content-Disposition: inline In-Reply-To: <20060222085814.U85700@woozle.rinet.ru> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: freebsd-rc@freebsd.org Subject: Re: /etc/rc.d/earlyroot (fwd) X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2006 17:35:46 -0000 --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--