bootdisk: ui-functions (HEAD) ui-wizard (HEAD) [qboosh]

PLD CVS pld-cvs-commit w pld.org.pl
Pią, 23 Sie 2002, 14:45:22 CEST


Module name:	bootdisk
Changes by:	qboosh	02/08/23 14:44:49

Modified files:
	ui-functions ui-wizard

Log message:
- added ataraid support

Index: ui-functions
===================================================================
RCS file: /cvsroot/bootdisk/batch-installer/ui/ui-functions,v
diff -d -u -r1.28 -r1.29
--- ui-functions	2002/08/06 10:36:01	1.28
+++ ui-functions	2002/08/23 12:44:49	1.29
@@ -115,6 +115,7 @@
     /dev/ida/* ) nls "%s hardware RAID device" "cpqarray" ;;
     /dev/rd/* ) nls "%s hardware RAID device" "DAC960" ;;  
     /dev/cciss/* ) nls "%s hardware RAID device" "cciss" ;;
+    /dev/ataraid/* ) nls "%s hardware RAID device" "ATA" ;;
     /dev/i2o/* ) nls "%s I2O disk device" "i2o" ;;
   esac
 }

Index: ui-wizard
===================================================================
RCS file: /cvsroot/bootdisk/batch-installer/ui/ui-wizard,v
diff -d -u -r1.25 -r1.26
--- ui-wizard	2002/07/29 11:20:41	1.25
+++ ui-wizard	2002/08/23 12:44:49	1.26
@@ -562,7 +562,8 @@
   did_select_dest_devices=yes
 
   tmp=$(echo "$dest_devices" | sed -e 's|/dev/[hs]d[a-d]||g' | \
-        sed -e 's@/dev/\(ida\|cciss\|rd\)/c0d0@@g' | sed -e 's| ||g' )
+        sed -e 's@/dev/\(ida\|cciss\|rd\)/c0d0@@g' | \
+	sed -e 's@/dev/ataraid/d0@@g' | sed -e 's| ||g' )
   if test "$tmp" ; then
     # cannot handle in menu
     get_input dest_devices "$dest_devices" $(nls "Please enter dest_devices:")
@@ -578,7 +579,7 @@
   for f in /dev/hda /dev/hdb /dev/hdc /dev/hdd \
            /dev/sda /dev/sdb /dev/sdc /dev/sdd \
 	   /dev/cciss/c0d0 /dev/ida/c0d0 /dev/rd/c0d0 \
-	   /dev/i2o/hda ; do
+	   /dev/ataraid/d0 /dev/i2o/hda ; do
     echo "<item id=$f checked=0>$f $(disk_name $f)"
   done
 )



Więcej informacji o liście dyskusyjnej pld-installer