Date: Fri, 12 Oct 2007 11:45:52 -0700 (PDT) From: Doug Barton <dougb@FreeBSD.org> To: Alexey Dokuchaev <danfe@FreeBSD.org> Cc: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org, Poul-Henning Kamp <phk@phk.freebsd.dk>, David O'Brien <obrien@FreeBSD.org>, des@FreeBSD.org Subject: Re: cvs commit: src/etc/rc.d early.sh Message-ID: <alpine.BSF.0.9999.0710121143470.28477@qbhto.arg> In-Reply-To: <20071012090746.GA72088@FreeBSD.org> References: <alpine.BSF.0.9999.0710101744420.8687@qbhto.arg> <902.1192082681@critter.freebsd.dk> <20071012090746.GA72088@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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
>> access.
>>
>> 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.
Doug
--
This .signature sanitized for your protection
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.0.9999.0710121143470.28477>
