svn commit: r218973 - head/usr.sbin/bsdinstall/partedit

Nathan Whitehorn nwhitehorn at FreeBSD.org
Wed Feb 23 13:51:42 UTC 2011


Author: nwhitehorn
Date: Wed Feb 23 13:51:41 2011
New Revision: 218973
URL: http://svn.freebsd.org/changeset/base/218973

Log:
  Add a catch-all for miscellaneous RAID volumes while seeking a better
  solution here. It would really help if CAM devices were part of newbus.

Modified:
  head/usr.sbin/bsdinstall/partedit/part_wizard.c

Modified: head/usr.sbin/bsdinstall/partedit/part_wizard.c
==============================================================================
--- head/usr.sbin/bsdinstall/partedit/part_wizard.c	Wed Feb 23 13:50:24 2011	(r218972)
+++ head/usr.sbin/bsdinstall/partedit/part_wizard.c	Wed Feb 23 13:51:41 2011	(r218973)
@@ -127,7 +127,8 @@ boot_disk(struct gmesh *mesh)
 				else if (strncmp(pp->lg_name, "cd", 2) == 0) {
 					n--;
 					continue;
-				}
+				} else
+					strcat(diskdesc, " Hard Disk");
 				disks[n-1].text = strdup(diskdesc);
 				disks[n-1].help = NULL;
 				disks[n-1].state = 0;


More information about the svn-src-all mailing list