Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 2002 09:04:20 +0930
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/37458: twed (3ware escalade) devices not supported by vinum
Message-ID:  <20020426090420.R33950@wantadilla.lemis.com>
In-Reply-To: <200204251830.g3PIU8i38773@freefall.freebsd.org>
References:  <200204251830.g3PIU8i38773@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, 25 April 2002 at 11:30:08 -0700, Poul-Henning Kamp wrote:
> The following reply was made to PR bin/37458; it has been noted by GNATS.
>
> From: Poul-Henning Kamp <phk@critter.freebsd.dk>
> To: holger.kipp@alogis.com
> Cc: FreeBSD-gnats-submit@FreeBSD.ORG
> Subject: Re: bin/37458: twed (3ware escalade) devices not supported by vinum
> Date: Thu, 25 Apr 2002 20:21:55 +0200
>
>  While this patch is technically correct, the code it patches is
>  mightily bogus.
>> *** vinumio.c.orig      Tue Apr 23 13:05:19 2002
>> --- vinumio.c           Tue Apr 23 13:22:57 2002
>> ***************
>> *** 93,98 ****
>> --- 93,101 ----
>>      } else if (bcmp(dname, "idad", 4) == 0) {
>>        devmajor = 109;
>>        dname += 2;
>> +     } else if (bcmp(dname, "twed", 4) == 0) {               /* 3ware raid */
>> +         devmajor = 147;
>> +         dname += 2;
>>      } else

You obviously haven't read the comments.

    /*
     * Yes, Bruce, I know this is horrible, but we
     * don't have a root file system when we first
     * try to do this.  If you can come up with a
     * better solution, I'd really like it.  I'm
     * just putting it in now to add ammuntion to
     * moving the system to devfs.
     */

Feel free to improve on it.

Greg
--
See complete headers for address and phone numbers

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020426090420.R33950>