Re: Cosmetic path to bsdinstall

From: Gary Palmer <gpalmer_at_freebsd.org>
Date: Fri, 25 Feb 2011 17:57:31 -0500
On Thu, Feb 24, 2011 at 12:17:46PM -0800, Garrett Cooper wrote:
> On Wed, Feb 23, 2011 at 4:37 AM, Mitya <mitya_at_cabletv.dp.ua> 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
> > _at__at_ -122,6 +122,18 _at__at_
> > ? ? ? ? ? ? ? ? ? ? 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
Received on Fri Feb 25 2011 - 21:57:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:11 UTC