From owner-freebsd-current@FreeBSD.ORG Thu Feb 24 15:00:51 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 17A09106566C for ; Thu, 24 Feb 2011 15:00:51 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from agogare.doit.wisc.edu (agogare.doit.wisc.edu [144.92.197.211]) by mx1.freebsd.org (Postfix) with ESMTP id DFA6A8FC16 for ; Thu, 24 Feb 2011 15:00:50 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth2.wiscmail.wisc.edu by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0LH40080KN1E1J00@smtpauth2.wiscmail.wisc.edu> for freebsd-current@freebsd.org; Thu, 24 Feb 2011 09:00:50 -0600 (CST) Received: from comporellon.tachypleus.net ([unknown] [76.210.68.25]) by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0LH400GXJN19SJ30@smtpauth2.wiscmail.wisc.edu>; Thu, 24 Feb 2011 09:00:46 -0600 (CST) Date: Thu, 24 Feb 2011 09:00:44 -0600 From: Nathan Whitehorn In-reply-to: <4D64FF99.2070908@cabletv.dp.ua> To: Mitya Message-id: <4D66729C.6040303@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=76.210.68.25 X-Spam-PmxInfo: Server=avs-13, Version=5.6.0.2009776, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.2.24.145415, SenderIP=76.210.68.25 References: <4D64FF99.2070908@cabletv.dp.ua> User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101214 Thunderbird/3.1.7 Cc: freebsd-current@freebsd.org 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: Thu, 24 Feb 2011 15:00:51 -0000 Thanks! I've received basically this patch from a couple people now. I'm going to investigate whether this is a more generic way to get this information (so the list doesn't grow infinitely long), and will commit this if I can't. Having CAM devices be part of newbus would simplify this a very great deal... -Nathan On 02/23/11 06:37, 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) { > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org"