Poul-Henning Kamp wrote:
> In message <[EMAIL PROTECTED]>, 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
> [EMAIL PROTECTED]               "Real hackers run -current on their laptop."
> FreeBSD -- It will take a long time before progress goes too far!
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
> 
> 

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to