cvs commit: src/etc/rc.d early.sh
dougb at FreeBSD.org
Fri Oct 12 11:45:57 PDT 2007
On Fri, 12 Oct 2007, Alexey Dokuchaev wrote:
> On Thu, Oct 11, 2007 at 06:04:41AM +0000, Poul-Henning Kamp wrote:
>> In message <alpine.BSF.0.9999.0710101744420.8687 at qbhto.arg>, Doug Barton writes
>>> If you truly want to run something literally before everything else, we'd
>>> have to create something new, which perhaps is what you were getting at
>>> above. Before we add such a thing though, I'd like to get an idea of why
>>> it would be needed.
>> I originally added /etc/rc.early to have a way to do things that
>> needed to happen before fsck, such as arming watchdogs, tweaking
>> drive parameters or get crypto key material necessary for filesystem
>> None of these things seems necessary today.
> So maybe nuke it so people won't accidentally use it again?
That's what this discussion is about. I added some warnings that indicate
that use of early.sh is deprecated, and it will be removed for 8.0.
If there is a hue and cry from the users when they start testing the beta
and see those warnings I'm still open to the idea of changing it to just
early (no .sh) which would accomplish the goal of not sourcing it into
rc's shell which is dangerous.
This .signature sanitized for your protection
More information about the cvs-src