From owner-freebsd-rc@FreeBSD.ORG Tue Aug 22 08:26:25 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 BF47B16A4E1 for ; Tue, 22 Aug 2006 08:26:25 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx24.fluidhosting.com [204.14.89.7]) by mx1.FreeBSD.org (Postfix) with SMTP id 72C3A43D86 for ; Tue, 22 Aug 2006 08:25:54 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 29476 invoked by uid 399); 22 Aug 2006 08:25:53 -0000 Received: from localhost (HELO ?192.168.0.10?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 22 Aug 2006 08:25:53 -0000 Message-ID: <44EABF90.2030602@FreeBSD.org> Date: Tue, 22 Aug 2006 01:25:52 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <20060821075057.GA8940@garage.freebsd.pl> <44EA2784.6070209@FreeBSD.org> <20060821214609.GD12183@garage.freebsd.pl> In-Reply-To: <20060821214609.GD12183@garage.freebsd.pl> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-rc@FreeBSD.org Subject: Re: rc(8) out-of-date. 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: Tue, 22 Aug 2006 08:26:25 -0000 Pawel Jakub Dawidek wrote: > On Mon, Aug 21, 2006 at 02:37:08PM -0700, Doug Barton wrote: >> Pawel Jakub Dawidek wrote: >>> Hi. >>> >>> AFAIK /usr/local/etc/rc.d/ is using rcorder(8) now. Could someone update >>> rc(8) manual page? >> I thought I had done that, at least in HEAD. What branch are you seeing the >> omission in? > > On: > > > uname -v > FreeBSD 7.0-CURRENT #9: Thu Aug 10 23:56:04 CEST 2006 root@anger.dawidek.net:/usr/obj/usr/src/sys/ANGER > > I see this: > > o The scripts within each directory are executed in lexicographical > order. If a specific order is required, numbers may be used as a > prefix to the existing filenames, so for example 100.foo would be > executed before 200.bar; without the numeric prefixes the opposite > would be true. > > I thought this is not longer true, is it? > I see now. :) You missed the header at the top of that section that says, "The following key points apply to old-style scripts in /usr/local/etc/rc.d." Scripts that don't use rc.d (PROVIDE, REQUIRE, etc.) are still handled in the manner described. If we get all (?) the scripts in ports converted to rc.d we might deprecate this behavior for 7-RELEASE, but it will stay for 6.x-RELEASE for sure, and probably won't be deprecated until 8-RELEASE. hth, Doug -- This .signature sanitized for your protection