Changeset 919

Show
Ignore:
Timestamp:
04/21/05 20:45:28 (7 years ago)
Author:
ingvar
Message:

A small patch to make the cciss driver in rhel3 work with the iostat plugin

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tags/1.2.3/node/node.d.linux/iostat.in

    r860 r919  
    203203                                my $tmpnam = $2; 
    204204                                my $major  = $1; 
    205                                 next if ($tmpnam =~ /\d+$/); 
     205                                if ($tmpnam =~ /\d+$/ ) { 
     206                                        # Special case for devices like cXdXpX, 
     207                                        # like the cciss driver. This is 
     208                                        # necessary, at least at RHEL3 
     209                                        next unless $tmpnam =~ /\/c\d+d\d+$/ 
     210                                } 
    206211                                next unless grep { $_ } @fields; 
    207212