[Fai-commit] r4844 - people/michael/features/setup_harddisks_2/implementation/lib
mt at alioth.debian.org
mt at alioth.debian.org
Sat Feb 16 16:34:06 UTC 2008
Author: mt
Date: 2008-02-16 16:34:05 +0000 (Sat, 16 Feb 2008)
New Revision: 4844
Modified:
people/michael/features/setup_harddisks_2/implementation/lib/commands.pm
Log:
added support for i2o adaptec devices
Modified: people/michael/features/setup_harddisks_2/implementation/lib/commands.pm
===================================================================
--- people/michael/features/setup_harddisks_2/implementation/lib/commands.pm 2008-02-13 07:27:50 UTC (rev 4843)
+++ people/michael/features/setup_harddisks_2/implementation/lib/commands.pm 2008-02-16 16:34:05 UTC (rev 4844)
@@ -90,7 +90,7 @@
my ($d, $t) = @_;
# only match physical partitions (this string of matchings is hopefully complete)
return unless($d =~
- m{^/dev/(cciss/c\dd\dp|ida/c\dd\dp|rd/c\dd\dp|ataraid/d\dp|sd[a-t]|hd[a-t])(\d+)$});
+ m{^/dev/(i2o/hd[a-t]|cciss/c\dd\dp|ida/c\dd\dp|rd/c\dd\dp|ataraid/d\dp|sd[a-t]|hd[a-t])(\d+)$});
my $disk = "/dev/$1";
my $part_no = $2;
# in case the name was /dev/cciss/c0d1p or the like, remove the trailing
More information about the Fai-commit
mailing list