From owner-freebsd-current@FreeBSD.ORG Mon Jul 16 18:08:44 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0D98216A403 for ; Mon, 16 Jul 2007 18:08:44 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with SMTP id B514313C478 for ; Mon, 16 Jul 2007 18:08:43 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 2494 invoked by uid 399); 16 Jul 2007 18:08:42 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTP; 16 Jul 2007 18:08:42 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <469BB428.1020200@FreeBSD.org> Date: Mon, 16 Jul 2007 11:08:40 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.4 (X11/20070617) MIME-Version: 1.0 To: Dmitry Morozovsky References: <20070419133550.GA65054@tirith.brixandersen.dk> <20070419200929.GA70735@tirith.brixandersen.dk> <4693BC3E.1050605@web.am> <200707110115.42139.pieter@degoeje.nl> <469417CB.7010705@FreeBSD.org> <4694AAF1.6050302@web.am> <46951CC2.5050602@FreeBSD.org> <20070716181242.S73148@woozle.rinet.ru> In-Reply-To: <20070716181242.S73148@woozle.rinet.ru> X-Enigmail-Version: 0.95.1 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Pieter de Goeje , Gaspar Chilingarov , freebsd-current@freebsd.org Subject: Re: RFT: bin/106642: [patch] Allow excluding certain files from mergemaster (8) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2007 18:08:44 -0000 Dmitry Morozovsky wrote: > On Wed, 11 Jul 2007, Doug Barton wrote: > > DB> > About pre-script which you suggested, there is another problem -- I MAY > DB> > have new scripts in /etc/rc.d, but NEVER change the system's scripts. > DB> > DB> Simple answer, don't do that. Put your scripts in /usr/local/etc/rc.d > DB> instead, and as of 6.1 and newer they will be included in the base > DB> rcorder. Therefore there will be no difference in when they are run. > DB> There is a default assumption that stuff in /etc/rc.d is the systems, > DB> and the systems only. Now that local scripts (including ports) are in > DB> the base rcorder, there is no reason not to do it that way. > > The first exclusion in mind would be scripts that should be running before > mounting file systems other than root... My recommendation in that scenario would be to play with the value of early_late_divider until you got something that worked for you. That's why I made it a variable. :) If there is a particular combination of things that have to happen that early_late_divider won't work for, I'd be interested in hearing that so that we could look at possibly adjusting the code if it's possible. Doug -- This .signature sanitized for your protection