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
[-- Attachment #1 --] On Wed, Feb 22, 2006 at 09:03:25AM +0300, Dmitry Morozovsky wrote: > Dear colleagues, > > what about creating the following rc.d script? > > There are situations where you should modify something on a root partition, and > console is not available; early.sh is not suitable because when it executes > root is mounted r/o, and duplicating /etc/rc.d/root functionality in > /etc/rc.early or invoking it from there does not seem elegant nor appropriate > to me. > > 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 -- 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFD/KDwXY6L6fI4GtQRAiLjAJ9nazCWLFRo9r/Kze8Y9U8fKumZmgCgq0x8 te1tEjljkJxEXNKGbnKcydI= =NTF5 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060222173544.GB7744>
