projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab14bf5
)
AMCC chipsets are 3ware
author
Jamie Cameron
<jcameron@webmin.com>
Wed, 8 Apr 2009 17:50:23 +0000
(17:50 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Wed, 8 Apr 2009 17:50:23 +0000
(17:50 +0000)
smart-status/smart-status-lib.pl
patch
|
blob
|
history
diff --git
a/smart-status/smart-status-lib.pl
b/smart-status/smart-status-lib.pl
index
419280c
..
8213312
100644
(file)
--- a/
smart-status/smart-status-lib.pl
+++ b/
smart-status/smart-status-lib.pl
@@
-37,7
+37,7
@@
local @rv;
local %tcount = ( "/dev/twe", 0, "/dev/twa", 0 );
foreach my $d (&fdisk::list_disks_partitions()) {
if (($d->{'type'} eq 'scsi' || $d->{'type'} eq 'raid') &&
- $d->{'model'} =~ /3ware/i) {
+ $d->{'model'} =~ /3ware
|amcc
/i) {
# Actually a 3ware RAID device .. but we want to probe the
# underlying real disks, so add fake devices for them
foreach my $twdev (keys %tcount) {