From owner-freebsd-current Sun Jan 17 20:16:53 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA07964 for freebsd-current-outgoing; Sun, 17 Jan 1999 20:16:53 -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 UAA07953 for ; Sun, 17 Jan 1999 20:16:46 -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 OAA25483; Mon, 18 Jan 1999 14:46:40 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id OAA59631; Mon, 18 Jan 1999 14:46:37 +1030 (CST) Date: Mon, 18 Jan 1999 14:46:36 +1030 From: Greg Lehey To: Makoto MATSUSHITA Cc: current@FreeBSD.ORG Subject: Re: vinum is always started at boot-time... Message-ID: <19990118144636.B55525@freebie.lemis.com> References: <19990118021522.A443@keltia.freenix.fr> <19990118021522.A443@keltia.freenix.fr> <19990118135514.Y55525@freebie.lemis.com> <19990118130353I.matusita@ics.es.osaka-u.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <19990118130353I.matusita@ics.es.osaka-u.ac.jp>; from Makoto MATSUSHITA on Mon, Jan 18, 1999 at 01:03:53PM +0900 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 Monday, 18 January 1999 at 13:03:53 +0900, Makoto MATSUSHITA wrote: > > Sorry donno who set "$vinum_slide" variable, however, > > grog> Ugh. It wants to be > grog> if [ -n "$vinum_slices" ] > > why not do as the CCD do? Anybody have the answer? > > if [ -f /etc/vinum.conf ]; > vinum create /etc/vinum.conf >/dev/null 2>&1 > fi > > Smart and simple enough? Because it doesn't work like that. The config is stored in the disk labels, not in a static (and not necessarily correct) config file. The config file is only for the first-time create. > And, why we should always do kldload the vinum module? Because I believe that's the correct way to do it. > Built-in the vinum module into kernel (say "pseudo-device vinum" in > kernel config file) is prohibited? Currently, yes. Peter put in hooks to statically configure Vinum, but THEY ARE NOT TESTED. Not at all. Please don't use them, or if you do, tell me only about the fixes you make. > Sorry I do not know how to decide that vinum (or whatever feature) > is already built-in or should be kldload after the kernel starts, > but now we have /boot/loader; pre-loading the modules is quite easy > (see the usage of splash module), and maybe it's not /etc/rc's > business. That's a valid point. When the bootstrap stops moving long enough for me to catch it, I'll look at that. 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