[Fai-commit] r3596 - people/michael/features/setup_harddisks_2/implementation

fai-commit at lists.alioth.debian.org fai-commit at lists.alioth.debian.org
Sat Jul 22 00:25:28 UTC 2006


Author: michael-guest
Date: 2006-07-22 00:25:26 +0000 (Sat, 22 Jul 2006)
New Revision: 3596

Modified:
   people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
Log:


Modified: people/michael/features/setup_harddisks_2/implementation/shdd2-sizes
===================================================================
--- people/michael/features/setup_harddisks_2/implementation/shdd2-sizes	2006-07-22 00:11:31 UTC (rev 3595)
+++ people/michael/features/setup_harddisks_2/implementation/shdd2-sizes	2006-07-22 00:25:26 UTC (rev 3596)
@@ -74,6 +74,16 @@
       {
         printf $1." ".$2." ".$3." ".$4."\n";
       }
+  
+      if( $line =~ /^Disk geometry for.*(\d+)B - (\d+)B/i )
+      {
+        printf $1." ".$2."\n";
+      }
+
+      if( $line =~ /^Disk label type:\s*(\w*)\s*/i )
+      {
+        printf $1;
+      }
     }
   }
 
@@ -88,6 +98,11 @@
       {
         printf $1." ".$2." ".$3." ".$4." ".$5." ".$6." "."$7"."\n";
       }
+
+      if( $line =~ /^Disk geometry for.*(\d+),(\d+),(\d+) - (\d+),(\d+),(\d+)/i )
+      {
+        printf $1." ".$2." ".$3." ".$4." ".$5." ".$6."\n";
+      }
     }
   }
 }




More information about the Fai-commit mailing list