Date: Tue, 19 Feb 2002 18:40:23 -0800 From: "Crist J. Clark" <cjc@FreeBSD.ORG> To: Mike Meyer <mwm-dated-1014599380.d11c75@mired.org> Cc: Tillman Hodgson <tillman@hodgsonhouse.com>, questions@FreeBSD.ORG Subject: Re: /altroot? Message-ID: <20020219184023.R48401@blossom.cjclark.org> 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 References: <86156277@toto.iv> <15474.63315.720844.7299@guru.mired.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 19, 2002 at 07:09:39PM -0600, Mike Meyer wrote:
> Tillman Hodgson <tillman@hodgsonhouse.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020219184023.R48401>
