Subject: raid support in i386 INSTALL kernel & sysinst disk list
To: None <tech-install@netbsd.org>
From: Tracy Di Marco White <netbsd@gendalia.org>
List: tech-install
Date: 04/27/2004 17:07:09
I'd like to add raid support in the i386 INSTALL kernel, and to
the disk list sysinst presents for installing onto.

(I've got these changes on ISOs I use at work, with raidctl also
on them, so that the raid can be configured, then the normal
sysinst things everyone is used to can be used instead of having
to do the install by hand.)

The diffs are against 2.0_BETA, and are fairly small, any thoughts?

-Tracy

Index: src/distrib/utils/sysinst/arch/i386/md.h
===================================================================
RCS file: /cvsroot/src/distrib/utils/sysinst/arch/i386/md.h,v
retrieving revision 1.49
diff -b -u -r1.49 md.h
--- src/distrib/utils/sysinst/arch/i386/md.h	29 Jan 2004 08:48:24 -0000	1.49
+++ src/distrib/utils/sysinst/arch/i386/md.h	27 Apr 2004 21:58:42 -0000
@@ -80,9 +80,9 @@
  * Disk names accepted as valid targets for a from-scratch installation.
  *
  * On i386, we allow "wd"  ST-506/IDE disks,  "sd" scsi disks, "ld" logical
- * disks, "ed" IBM ESDI disks
+ * disks, "ed" IBM ESDI disks, "raid" raidframe disks
  */
-#define DISK_NAMES "wd", "sd", "ld", "ed"
+#define DISK_NAMES "wd", "sd", "ld", "ed", "raid"
 
 /*
  * Machine-specific command to write a new label to a disk.
Index: src/sys/arch/i386/conf/INSTALL
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/conf/INSTALL,v
retrieving revision 1.238
diff -b -u -r1.238 INSTALL
--- src/sys/arch/i386/conf/INSTALL	16 Feb 2004 17:11:26 -0000	1.238
+++ src/sys/arch/i386/conf/INSTALL	27 Apr 2004 21:59:01 -0000
@@ -718,7 +718,8 @@
 
 # disk/mass storage pseudo-devices
 #pseudo-device	ccd		4	# concatenated/striped disk devices
-#pseudo-device	raid		4	# RAIDframe disk driver
+pseudo-device	raid		4	# RAIDframe disk driver
+options		RAID_AUTOCONFIG		# auto-configuration of RAID components
 pseudo-device	md		1	# memory disk device (ramdisk)
 #pseudo-device	vnd		4	# disk-like interface to files