| From | Sent On | Attachments |
|---|---|---|
| Rex Roof | Apr 20, 2005 8:06 am | |
| Rex Roof | Apr 20, 2005 8:10 am | |
| Dag-Erling Smørgrav | Apr 21, 2005 1:35 am | |
| Will Andrews | Apr 22, 2005 5:49 am |
| Subject: | gvinum during bootup | |
|---|---|---|
| From: | Rex Roof (rexr...@gmail.com) | |
| Date: | Apr 20, 2005 8:10:26 am | |
| List: | org.freebsd.freebsd-hackers | |
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="gvinum" start_cmd="gvinum_start" stop_cmd=":"
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="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.





