[prev in list] [next in list] [prev in thread] [next in thread]
List: amanda-hackers
Subject: Re: hackery - span patch
From: John Stange <building () nap ! edu>
Date: 2004-03-04 18:47:01
Message-ID: 20040304184701.GD6996 () nap ! edu
[Download RAW message or body]
> One more little note - amoverview doesn't handle the extra "part" field.
> This is a quick fix for that to at least generate some reasonable
> output. Now, a "complete" fix would probably involve finding all of the
> parts and making sure that none of them had errors. Although it is most
> likely for the last part to have an error and that probably sets the
> final status....
Cool, applied to my source tree.
> --- amanda-2.4.5b1/server-src/amoverview.pl.in.split 2004-03-03
> 16:17:54.000000000 -0700
> +++ amanda-2.4.5b1/server-src/amoverview.pl.in 2004-03-03
> 16:18:32.000000000 -0700
> @@ -106,7 +106,7 @@
> chomp;
> next if /found Amanda directory/;
> next if /skipping cruft directory/;
> - ($date, $host, $disk, $level, $tape, $file, $status) = split ' ', $_;
> + ($date, $host, $disk, $level, $tape, $file, $part, $status) = split
> ' ', $_;
> next if $date eq 'date';
> next if $date eq 'Warning:';
> next if $date eq 'Scanning';
--
John Stange, Systems Administrator
National Academies Press
202-334-3514
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic