Date: Wed, 20 Apr 2005 11:06:43 -0400 From: Rex Roof <rexroof@gmail.com> To: hackers@freebsd.org Subject: gvinum during bootup Message-ID: <6afb69aa05042008065db9d0cb@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6afb69aa05042008065db9d0cb>
