From owner-freebsd-current Sun Jan 17 22:19:46 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA24516 for freebsd-current-outgoing; Sun, 17 Jan 1999 22:19:46 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from kir.ics.es.osaka-u.ac.jp (kir.ics.es.osaka-u.ac.jp [133.1.12.64]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA24509 for ; Sun, 17 Jan 1999 22:19:44 -0800 (PST) (envelope-from matusita@jp.FreeBSD.ORG) Received: from localhost (localhost [127.0.0.1]) by kir.ics.es.osaka-u.ac.jp (8.8.8/3.6W/ICS-2.2.2v7-44BSD) with ESMTP id PAA03312 for ; Mon, 18 Jan 1999 15:19:35 +0900 (JST) In-Reply-To: <19990118153804.D55525@freebie.lemis.com> References: <19990118153804.D55525@freebie.lemis.com> X-Face: '*aj"d@ijeQ:/X}]oM5c5Uz{ZZZk90WPt>a^y4$cGQp8:!H\W=hSM;PuNiidkc]/%,;6VGu e+`&APmz|P;F~OL/QK%;P2vU>\j4X.8@i%j6[%DTs_3J,Fff0)*oHg$A.cDm&jc#pD24WK@{,"Ef!0 P\):.2}8jo-BiZ?X&t$V User-Agent: Mew/1.94b2 XEmacs/21.2 (Artemis) X-SKK-Version: 10.47.6.2 X-FaceAnim: (-O_O-)(O_O- )(_O- )(O- )(- -)( -O)( -O_)( -O_O)(-O_O-) X-Fingerprint: 0C AC 93 FC E3 9D 9E 5B 3D B8 AC 5C 4A 79 D8 A6 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Dispatcher: imput version 981124(IM104) Lines: 28 From: Makoto MATSUSHITA To: current@FreeBSD.ORG Subject: Re: vinum is always started at boot-time... Date: Mon, 18 Jan 1999 15:19:34 +0900 Message-Id: <19990118151934P.matusita@jp.FreeBSD.ORG> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. 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). If more 'vinum read' commands should be done, the commands should be within for-loop. -- - Makoto `MAR' MATSUSHITA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message