From owner-freebsd-rc@FreeBSD.ORG Sun May 31 20:04:22 2009 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00B00106566C for ; Sun, 31 May 2009 20:04:22 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id 7A50C8FC08 for ; Sun, 31 May 2009 20:04:21 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.3/8.14.3) with ESMTP id n4VJkdvj020251; Sun, 31 May 2009 23:46:39 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Sun, 31 May 2009 23:46:39 +0400 (MSD) From: Dmitry Morozovsky To: Doug Barton In-Reply-To: <4A22CFA1.3050408@FreeBSD.org> Message-ID: References: <200905301938.n4UJcpbF017191@svn.freebsd.org> <4A22CFA1.3050408@FreeBSD.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (woozle.rinet.ru [0.0.0.0]); Sun, 31 May 2009 23:46:39 +0400 (MSD) Cc: Pawel Jakub Dawidek , freebsd-rc@freebsd.org Subject: Re: svn commit: r193112 - head/etc/rc.d 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: Sun, 31 May 2009 20:04:22 -0000 On Sun, 31 May 2009, Doug Barton wrote: DB> Dmitry Morozovsky wrote: DB> > Doug, DB> > DB> > On Sat, 30 May 2009, Doug Barton wrote: DB> > DB> > DB> Author: dougb DB> > DB> Date: Sat May 30 19:38:51 2009 DB> > DB> New Revision: 193112 DB> > DB> URL: http://svn.freebsd.org/changeset/base/193112 DB> > DB> DB> > DB> Log: DB> > DB> As previously advertised, remove this script prior to the 8.0 branch. DB> > DB> > Was there an agreement what should one do with dumping to gmirror (see DB> > sbin/geom/class/mirror/gmirror.8) ? DB> DB> I'm not familiar with that issue, but it sounds like something that DB> needs its own rc.d script. If someone who knows what is supposed to DB> happen wants to write something up and send it to the freebsd-rc@ list DB> I'll be glad to help review it. Something like (checks should be added, yeah) #!/bin/sh # # $FreeBSD$ # # BEFORE: savecore # PROVIDE: gmirror-savecore # KEYWORD: nojail . /etc/rc.subr name="gmirror_savecore" start_cmd="gmsavecore_start" stop_cmd=":" gmsavecore_start() { gmirror configure -b prefer /dev/dumpdev } load_rc_config $name run_rc_command "$1" possibly? -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------