Date: Mon, 16 Jul 2007 11:08:40 -0700 From: Doug Barton <dougb@FreeBSD.org> To: Dmitry Morozovsky <marck@rinet.ru> Cc: Pieter de Goeje <pieter@degoeje.nl>, Gaspar Chilingarov <casper@web.am>, freebsd-current@freebsd.org Subject: Re: RFT: bin/106642: [patch] Allow excluding certain files from mergemaster (8) Message-ID: <469BB428.1020200@FreeBSD.org> In-Reply-To: <20070716181242.S73148@woozle.rinet.ru> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?469BB428.1020200>