From owner-freebsd-current Sun Jan 17 23:10:10 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA00379 for freebsd-current-outgoing; Sun, 17 Jan 1999 23:10:10 -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 XAA00372 for ; Sun, 17 Jan 1999 23:10:07 -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 RAA26080; Mon, 18 Jan 1999 17:40:01 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.2/8.9.0) id RAA00657; Mon, 18 Jan 1999 17:40:00 +1030 (CST) Date: Mon, 18 Jan 1999 17:40:00 +1030 From: Greg Lehey To: Makoto MATSUSHITA Cc: current@FreeBSD.ORG Subject: Re: vinum is always started at boot-time... Message-ID: <19990118174000.E474@freebie.lemis.com> References: <19990118153804.D55525@freebie.lemis.com> <19990118151934P.matusita@jp.FreeBSD.ORG> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <19990118151934P.matusita@jp.FreeBSD.ORG>; from Makoto MATSUSHITA on Mon, Jan 18, 1999 at 03:19:34PM +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 15:19:34 +0900, Makoto MATSUSHITA wrote: > > grog> I'll think out another way and test more thoroughly. How does this > grog> look? > > gnb@itga.com.au already pointed out that "vinum read" command in such > an early stage of /etc/rc causes much much warnings about /dev/ is > read-only filesystem. We can get rid of the warnings. And they'll go away by themselves when we have devfs. > And, a typo around reading from /etc/vinumslices > (I don't want to type every time :-). > > Anyway, I do try with this: > > if [ -f /etc/vinumslices ]; then > read vinum_slices < /etc/vinumslices > if [ -r /modules/vinum.ko ]; then # jkh paranoia > kldload vinum > vinum read $vinum_slices >/dev/null 2>&1 > else > echo "Can't find /modules/vinum.ko" > fi > fi > > It works fine, however, sorry I have only ONE volume so how it goes if > two or more volumes are defined (note that 'vinum read' takes only one > argument). The syntax for `vinum read' is changing. It now *must* specify all drives (not volumes). You can lie and specify others, too, if you want: it will silently ignore any drives which don't contain Vinum data. We need to do it like this in order to read in the config in the correct order after a crash. 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