From owner-freebsd-current@FreeBSD.ORG Wed Apr 20 15:09:54 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A61816A4CE for ; Wed, 20 Apr 2005 15:09:54 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id E509943D41 for ; Wed, 20 Apr 2005 15:09:53 +0000 (GMT) (envelope-from rexroof@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so160454wri for ; Wed, 20 Apr 2005 08:09:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=V4F2/bx7CiJfXn6FgV/DL/q3TeHLkR1OPijq+uclZU5qq65d4S6+1hMP4eyVKKhprbMmms9yWV9gqrH5tqOjDAcN2MHx+V+yZ+r49vBRgrgbqh1i3n5EUvZAeKLAeni6cRalUP2PJxxBsXnFa+PjTiMmHPpTemMHPtUaBecn8GA= Received: by 10.54.3.66 with SMTP id 66mr422500wrc; Wed, 20 Apr 2005 08:09:50 -0700 (PDT) Received: by 10.54.62.14 with HTTP; Wed, 20 Apr 2005 08:09:50 -0700 (PDT) Message-ID: <6afb69aa05042008093d6d59d0@mail.gmail.com> Date: Wed, 20 Apr 2005 11:09:50 -0400 From: Rex Roof To: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org In-Reply-To: <6afb69aa05042008065db9d0cb@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <6afb69aa05042008065db9d0cb@mail.gmail.com> X-Mailman-Approved-At: Thu, 21 Apr 2005 11:43:30 +0000 Subject: gvinum during bootup X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Rex Roof List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2005 15:09:54 -0000 I'm running a FreeBSD6 machine current as of a few days ago and I'm working on a gvinum configuration, I couldn't find any place where it referenced gvinum on startup so after fussing around with the rc system a little, I wrote an /etc/rc.d/gvinum script that looks like so: #!/bin/sh # PROVIDE: disks # KEYWORD: nojail . /etc/rc.subr name=3D"gvinum" start_cmd=3D"gvinum_start" stop_cmd=3D":" gvinum_start() { case ${gvinum_enable} in [Yy][Ee][Ss]) echo "starting gvinum." /sbin/gvinum start ;; esac } load_rc_config $name run_rc_command "$1" # END I then added gvinum_enable=3D"YES" to my /etc/rc.conf and it seems to be working great. rcorder tells me this is run a few steps before ccd, which is confusing because I used the same keywords and ccd isn't requested anywhere. is there some place this can be added to -current? I'm assuming the change from vinum to gvinum is still in some sort of transition.