bootdisk/trunk/batch-installer/ui/ui-functions

hawk cvs at pld-linux.org
Tue Nov 22 19:54:35 CET 2005


Author: hawk
Date: Tue Nov 22 19:54:32 2005
New Revision: 6552

Modified:
   bootdisk/trunk/batch-installer/ui/ui-functions
Log:
- more disk names


Modified: bootdisk/trunk/batch-installer/ui/ui-functions
==============================================================================
--- bootdisk/trunk/batch-installer/ui/ui-functions	(original)
+++ bootdisk/trunk/batch-installer/ui/ui-functions	Tue Nov 22 19:54:32 2005
@@ -107,11 +107,12 @@
 
 disk_name () {
   case "$1" in
-    /dev/hda ) nls "IDE Primary Master" ;;
-    /dev/hdb ) nls "IDE Primary Slave" ;;
-    /dev/hdc ) nls "IDE Secondary Master" ;;
-    /dev/hdd ) nls "IDE Secondary Slave" ;;
-    /dev/sd[a-i] ) nls "SCSI Disk #%d" $(echo $f | sed -e 's|/dev/sd||' | tr 'a-i' '1-9') ;;
+    /dev/hda ) nls "IDE Disk #1 (Primary Master)" ;;
+    /dev/hdb ) nls "IDE Disk #2 (Primary Slave)" ;;
+    /dev/hdc ) nls "IDE Disk #3 (Secondary Master)" ;;
+    /dev/hdd ) nls "IDE Disk #4 (Secondary Slave)" ;;
+    /dev/hd[e-i] ) nls "IDE Disk #%d" $(echo $f | sed -e 's|/dev/hd||' | tr 'e-i' '5-9') ;;
+    /dev/sd[a-i] ) nls "SCSI/SATA Disk #%d" $(echo $f | sed -e 's|/dev/sd||' | tr 'a-i' '1-9') ;;
     /dev/ida/* ) nls "%s hardware RAID device" "cpqarray" ;;
     /dev/rd/* ) nls "%s hardware RAID device" "DAC960" ;;  
     /dev/cciss/* ) nls "%s hardware RAID device" "cciss" ;;



More information about the pld-cvs-commit mailing list