From owner-freebsd-current Sun Jan 17 23:01:00 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA29154 for freebsd-current-outgoing; Sun, 17 Jan 1999 23:01:00 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA29139 for ; Sun, 17 Jan 1999 23:00:55 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id RAA26038; Mon, 18 Jan 1999 17:30:49 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.2/8.9.0) id RAA00524; Mon, 18 Jan 1999 17:30:48 +1030 (CST) Date: Mon, 18 Jan 1999 17:30:48 +1030 From: Greg Lehey To: Jake Cc: current@FreeBSD.ORG Subject: Re: vinum is always started at boot-time... Message-ID: <19990118173048.B474@freebie.lemis.com> References: <19990118153804.D55525@freebie.lemis.com> <199901180617.WAA01907@h24-64-221-247.gv.wave.shaw.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <199901180617.WAA01907@h24-64-221-247.gv.wave.shaw.ca>; from Jake on Sun, Jan 17, 1999 at 10:17:21PM -0800 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sunday, 17 January 1999 at 22:17:21 -0800, Jake wrote: >> Oops. This was a thoroughly successful commit, wasn't it? At least >> it didn't break `make world'. > > :) > >> >> I'll think out another way and test more thoroughly. How does this >> look? >> >> if [ -f /etc/vinumslices ]; then >> read /etc/vinumslices >> if [ -r /modules/vinum.ko ]; then # jkh paranoia >> kldload vinum >> vinum read $vinum_slices >> else >> echo "Can't find /modules/vinum.ko" >> fi >> fi >> > > Why not just suck in rc.conf before starting vinum? Good idea. Does anybody have a reason for reading in rc.conf so late? > I've modified my /etc/rc to do this, and it works fine. > I submitted a PR with a patch. I'll look at it. > also, I tried 'pseudo-device vinum' and it does work, > but I think I ran into trouble somewhere. > Oh yeah, it worked once, but each subsequent > reboot seemed to replicate my subdisks, > until I had about 16, only two of which were real. > Finally I found my config file, recreated and switched > back to the kld. I don't think this is the fault of the pseudo-device. This is more likely to be the bug I mentioned in my mail to Matsushita-san. > FWIW I think its good to load the module from /etc/rc > rather than loader.rc, keeps all the vinum stuff in one > place. Maybe we could even have the module loaded > on demand; ie if you try to run vinum before the module > is loaded, load it automatically. Once I have this update out of my hair, I'll think about this. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message