From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 20 15:06:48 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3996B16A4CE for ; Wed, 20 Apr 2005 15:06:48 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id B16B743D3F for ; Wed, 20 Apr 2005 15:06:47 +0000 (GMT) (envelope-from rexroof@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so159424wri for ; Wed, 20 Apr 2005 08:06:47 -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:mime-version:content-type:content-transfer-encoding:content-disposition; b=e2NASuKzlk5Exdx4RIVzjrWaiOu4iJlXgdinRuAmzY9NpF/0f/+PIfq0RNJAKJmfCpOTFdvEqlqkMPXg1YXnQ5bW8WUl0mbryCjfF7WsbpQcBru6w0ryPkxXmuEFfBSQ1Fyte7x8XmyUVQ6Y15CwMLaC6I1looSmvi3LO9vzVkU= Received: by 10.54.3.66 with SMTP id 66mr419359wrc; Wed, 20 Apr 2005 08:06:44 -0700 (PDT) Received: by 10.54.62.14 with HTTP; Wed, 20 Apr 2005 08:06:43 -0700 (PDT) Message-ID: <6afb69aa05042008065db9d0cb@mail.gmail.com> Date: Wed, 20 Apr 2005 11:06:43 -0400 From: Rex Roof To: hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: gvinum during bootup X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Rex Roof List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2005 15:06:48 -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=20 gvinum_enable=3D"YES" =20 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.