From owner-freebsd-current Sun Dec 12 7:47:46 1999 Delivered-To: freebsd-current@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id 870E014D7A for ; Sun, 12 Dec 1999 07:47:39 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 8295D1CA0; Sun, 12 Dec 1999 23:47:36 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.1.1 10/15/1999 To: Poul-Henning Kamp Cc: Kevin Street , "Jordan K. Hubbard" , FUJISHIMA Satsuki , Greg Lehey , current@FreeBSD.ORG Subject: Re: vinum start needs block device In-Reply-To: Message from Poul-Henning Kamp of "Sun, 12 Dec 1999 16:37:29 +0100." <17568.945013049@critter.freebsd.dk> Date: Sun, 12 Dec 1999 23:47:36 +0800 From: Peter Wemm Message-Id: <19991212154736.8295D1CA0@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Poul-Henning Kamp wrote: > In message <879030896x.fsf@mired.eh.local>, Kevin Street writes: > > >Jordan, I don't understand your answer. Using the new MAKEDEV is what > >causes vinum to fail. Won't -release be using the new MAKEDEV? > > > >Greg, is there a mechanism to transition an existing vinum > >installation to the new device nodes? > > I think that between the two of us, Greg and I have lost a oneline > patch on the floor, try this: I tried a patch exactly like this last night, it works fine. I also changed the error message below to say "not a _disk_ device" rather than refer to block devices. > Index: vinumio.c > =================================================================== > RCS file: /home/ncvs/src/sys/dev/vinum/vinumio.c,v > retrieving revision 1.45 > diff -u -r1.45 vinumio.c > --- vinumio.c 1999/10/13 03:17:59 1.45 > +++ vinumio.c 1999/12/12 11:00:12 > @@ -76,7 +76,7 @@ > drive->devicename, > drive->vp->v_usecount); > } > - if (drive->vp->v_type != VBLK) { /* only consider bl ock devices */ > + if (!vn_isdisk(drive->vp)) { /* only consider bl ock devices */ > VOP_UNLOCK(drive->vp, 0, drive->p); > close_drive(drive); > drive->lasterror = ENOTBLK; > > -- > Poul-Henning Kamp FreeBSD coreteam member > phk@FreeBSD.ORG "Real hackers run -current on their laptop." > FreeBSD -- It will take a long time before progress goes too far! > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > > Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message