Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 200950 Details for
Bug 281087
monitorix: new ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
1.3.1-evms.patch
1.3.1-evms.patch (text/plain), 990 bytes, created by
mren
on 2009-08-11 17:52:54 UTC
(
hide
)
Description:
1.3.1-evms.patch
Filename:
MIME Type:
Creator:
mren
Created:
2009-08-11 17:52:54 UTC
Size:
990 bytes
patch
obsolete
>--- monitorix.pl.orig 2009-08-05 14:47:05.000000000 +0200 >+++ monitorix.pl 2009-08-11 18:26:42.000000000 +0200 >@@ -81,6 +81,7 @@ > our @PC_MAIL; > our $IPTABLES; > our $PVS = "pvs"; >+our $EVMS = "evms_query"; > > # The current two locations where the configuration file can reside. > if(-f "/etc/monitorix.conf") { >@@ -1069,7 +1070,7 @@ > my @monthlist = ("Desembre", > "Gener", > "Febrer", >- "Març", >+ "Març", > "Abril", > "Maig", > "Juny", >@@ -3038,6 +3039,7 @@ > my $lvm_disk; > my $is_cciss; > my $is_md; >+ my $found = 0; > > $root_disk = `df -P / | grep / | awk -F " " '{ print \$1 }'`; > chomp($root_disk); >@@ -3048,6 +3050,11 @@ > $root_disk =~ s/.$//; > $is_cciss = 1; > } >+ if($root_disk =~ m/\/dev\/evms\//) { >+ $root_disk = `$EVMS disks $root_disk`; >+ $found = 1; >+ } >+ if(!$found) { > if(stat("/proc/mdstat")) { > my $tmp; > my $md_root_disk = $root_disk; >@@ -3100,6 +3107,7 @@ > } > > } >+ } > } > > chomp($ROOT_TOTAL,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 281087
:
200918
|
200919
|
200948
|
200950
|
202920
|
211743
|
278089