/[smeserver]/rpms/e-smith-base+ldap/sme8/e-smith-base+ldap-4.19.1-get_raid_details_cciss.patch
ViewVC logotype

Contents of /rpms/e-smith-base+ldap/sme8/e-smith-base+ldap-4.19.1-get_raid_details_cciss.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Jul 23 18:11:57 2008 UTC (16 years, 4 months ago) by bytegw
Branch: MAIN
CVS Tags: e-smith-base+ldap-4_19_1-24_el5_sme, e-smith-base+ldap-4_19_1-28_el5_sme, e-smith-base+ldap-4_19_1-29_el5_sme, e-smith-base+ldap-4_19_1-22_el5_sme, e-smith-base+ldap-4_19_1-30_el5_sme, e-smith-base+ldap-4_19_1-20_el5_sme, e-smith-base+ldap-4_19_1-18_el5_sme, e-smith-base+ldap-4_19_1-26_el5_sme, e-smith-base+ldap-4_19_1-23_el5_sme, e-smith-base+ldap-4_19_1-21_el5_sme, e-smith-base+ldap-4_19_1-25_el5_sme, e-smith-base+ldap-4_19_1-19_el5_sme
Updates

1 diff -Nur -x '*.orig' -x '*.rej' e-smith-base-4.18.1/root/sbin/e-smith/console-menu-items/manageRAID.pl mezzanine_patched_e-smith-base-4.18.1/root/sbin/e-smith/console-menu-items/manageRAID.pl
2 --- e-smith-base-4.18.1/root/sbin/e-smith/console-menu-items/manageRAID.pl 2008-03-26 16:49:00.000000000 +0000
3 +++ mezzanine_patched_e-smith-base-4.18.1/root/sbin/e-smith/console-menu-items/manageRAID.pl 2008-07-22 22:16:12.000000000 +0100
4 @@ -213,8 +213,12 @@
5 if ( m:\s+(\d+)\s+(\d+)\s+(\d+).*/dev/([\w\/]+): )
6 {
7 $devices{$dev}{$1} = $_;
8 - my $used_disk = $4;
9 - $used_disk =~ s/\d+//;
10 + my $used_disk = $4;
11 + if (/(rd|ida|cciss|i2o)\//) {
12 + $used_disk =~ s/p\d+$//;
13 + } else {
14 + $used_disk =~ s/\d+//;
15 + }
16 push (@{$devices{$dev}{UsedDisks}}, $used_disk);
17 }
18 }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed