From owner-freebsd-current@FreeBSD.ORG Fri Feb 25 22:57:34 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B1D7106564A; Fri, 25 Feb 2011 22:57:34 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from noop.in-addr.com (mail.in-addr.com [IPv6:2001:470:8:162::1]) by mx1.freebsd.org (Postfix) with ESMTP id 407E28FC08; Fri, 25 Feb 2011 22:57:34 +0000 (UTC) Received: from gjp by noop.in-addr.com with local (Exim 4.74 (FreeBSD)) (envelope-from ) id 1Pt6bL-000D8E-EZ; Fri, 25 Feb 2011 17:57:31 -0500 Date: Fri, 25 Feb 2011 17:57:31 -0500 From: Gary Palmer To: Garrett Cooper Message-ID: <20110225225731.GA90641@in-addr.com> References: <4D64FF99.2070908@cabletv.dp.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: gpalmer@freebsd.org X-SA-Exim-Scanned: No (on noop.in-addr.com); SAEximRunCond expanded to false Cc: freebsd-current@freebsd.org, Mitya Subject: Re: Cosmetic path to bsdinstall X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 22:57:34 -0000 On Thu, Feb 24, 2011 at 12:17:46PM -0800, Garrett Cooper wrote: > On Wed, Feb 23, 2011 at 4:37 AM, Mitya wrote: > > Add usually used RAID controller > > > > --- usr.sbin/bsdinstall/partedit/part_wizard.c.orig ? ?2011-02-19 > > 17:22:06.000000000 +0200 > > +++ usr.sbin/bsdinstall/partedit/part_wizard.c ? ?2011-02-21 > > 17:20:28.000000000 +0200 > > @@ -122,6 +122,18 @@ > > ? ? ? ? ? ? ? ? ? ? strcat(diskdesc, " ATA Hard Disk"); > > ? ? ? ? ? ? ? ? else if (strncmp(pp->lg_name, "da", 2) == 0) > > ? ? ? ? ? ? ? ? ? ? strcat(diskdesc, " SCSI Hard Disk"); > > + ? ? ? ? ? ? ? ?else if (strncmp(pp->lg_name, "aacd", 4) == 0) > > + ? ? ? ? ? ? ? ? ? ?strcat(diskdesc, " Adaptec Raid Disk"); > > + ? ? ? ? ? ? ? ?else if (strncmp(pp->lg_name, "amrd", 4) == 0) > > + ? ? ? ? ? ? ? ? ? ?strcat(diskdesc, " LSI Raid Disk"); > > + ? ? ? ? ? ? ? ?else if (strncmp(pp->lg_name, "mfid", 4) == 0) > > + ? ? ? ? ? ? ? ? ? ?strcat(diskdesc, " LSI Raid Disk"); > > + ? ? ? ? ? ? ? ?else if (strncmp(pp->lg_name, "mlxd", 4) == 0) > > + ? ? ? ? ? ? ? ? ? ?strcat(diskdesc, " Mylex Raid Disk"); > > + ? ? ? ? ? ? ? ?else if (strncmp(pp->lg_name, "twed", 4) == 0) > > + ? ? ? ? ? ? ? ? ? ?strcat(diskdesc, " 3ware Raid Disk"); > > + ? ? ? ? ? ? ? ?else if (strncmp(pp->lg_name, "pst", 3) == 0) > > + ? ? ? ? ? ? ? ? ? ?strcat(diskdesc, " Promise Raid Disk"); > > ? ? ? ? ? ? ? ? else if (strncmp(pp->lg_name, "md", 2) == 0) > > ? ? ? ? ? ? ? ? ? ? strcat(diskdesc, " Memory Disk"); > > ? ? ? ? ? ? ? ? else if (strncmp(pp->lg_name, "cd", 2) == 0) { > > You forgot "twad" :). AFAIK the 3ware devices that attach with the twa driver register the volumes through CAM and appear as da, not twad. Hence why the driver is in the "RAID controllers interfaced to the SCSI subsystem" section of GENERIC Regards, Gary