From owner-freebsd-questions Tue Feb 19 18:40:26 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id 280A037B405 for ; Tue, 19 Feb 2002 18:40:24 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020220024023.VBKH1147.rwcrmhc52.attbi.com@blossom.cjclark.org>; Wed, 20 Feb 2002 02:40:23 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g1K2eNK23930; Tue, 19 Feb 2002 18:40:23 -0800 (PST) (envelope-from cjc) Date: Tue, 19 Feb 2002 18:40:23 -0800 From: "Crist J. Clark" To: Mike Meyer Cc: Tillman Hodgson , questions@FreeBSD.ORG Subject: Re: /altroot? Message-ID: <20020219184023.R48401@blossom.cjclark.org> References: <86156277@toto.iv> <15474.63315.720844.7299@guru.mired.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15474.63315.720844.7299@guru.mired.org>; from mwm-dated-1014599380.d11c75@mired.org on Tue, Feb 19, 2002 at 07:09:39PM -0600 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Feb 19, 2002 at 07:09:39PM -0600, Mike Meyer wrote: > Tillman Hodgson types: > > On Tue, Feb 19, 2002 at 08:46:44AM -0800, Kris Kennaway wrote: > > > On Mon, Feb 18, 2002 at 04:21:42PM -0600, Tillman Hodgson wrote: > > > > Howdy, > > > > > > > > Does FreeBSD have built-in functionality similar to OpenBSDs /altroot? > > > > > > It might help if you explained what this is. > > > > Sure. From OpenBSD's /etc/daily: > > I could add that as a script in /etc/periodic/daily, but I'd prefer to > > use built-in functionality rather than duplicate it if it exists. > > The built-in functionality doesn't exist. Might I recommend that you > tweak the script to 1) work on FreeBSD and 2) follow the practices of > /etc/defaults/periodic.conf, then add daily_root_backup to > /etc/defaults/periodic.conf and submit a PR with a patch consisting of > the diff to /etc/defaults/periodic.conf and the tweaked script? Nooooooo... Put localizations in /etc/periodic.conf, NOT /etc/defaults/periodic.conf. And drop local files into /usr/local/etc/periodic/daily. Of course, if you wish to submit them in a PR as a potential change, please do put them where they would be in the base system to generate patches. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message