Hi Rohit,

Could you try this patch

Jean-Louis

On Thu, Oct 23, 2003 at 07:00:56PM +0530, Rohit Peyyeti wrote:
> Attached are my amoverview and disklist files. I see some { brackets,
> include
> statements etc., in my amoverview output. These were not there before I
> introduced include,exclude in the disklist file. Amreports everything fine
> for
> all in the disklists though.
> 
> Any idea?
> 
> Rohit

> # localhost /etc comp-root-tar
> 
> machine1  /vl           tar-low
> machine1  /vw           tar-high
> machine1  /vm           tar-high
> machine1  /h            tar-low
> 
> machine3     /rp           cvs-backup-full   -1 local
> machine3     /vw           tar-low
> machine3     /vm           tar-low
> 
> machine3 /hAM /h {
>         tar-low
>         include "./[a-m]*"
> } -1 local
> 
> machine3 /hNZ /h {
>         tar-low
>         include "./[n-z]*"
> } -1 local
> 
> 
> machine2   /vm            tar-low
> machine2   /vw            tar-med
> 
> machine2 /hAM /h {
>         tar-med
>         include "./[a-m]*"
> } 1
> 
> machine2 /hNZ /h {
>         tar-med
>         include "./[n-z]*"
> } 1
> 
> machine2 /h2AM /h2 {
>         tar-med
>         include "./[a-m]*"
> } 1
> 
> machine2 /h2NZ /h2 {
>         tar-med
>         include "./[n-z]*"
> } 1
> 
> machine2 /h3NZ /h3 {
>         tar-med
>         include "./rohit"
> } 1
> 
> # machine2    /vl                 tar-low
> # machine2 //meosis/users           windows-high
> # machine2 //meosis/UsersG2         windows-high
> # machine2 //meosis/UsersG3         windows-high

>          date                 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10
> host     disk                 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23
> 
> machine1 /h                    0  E  E  E  E        1  2  2  2  2  E           0
> machine1 /vl                   E  0  E  E  E        E  0  1  0  1  E     1  0  1
> machine1 /vm                   0  1  1  0  0        0  1  0  1  1  1     1  0  1
> machine1 /vw                   E  0  E  1  2        2  0  1  0  1  1     1  1  1
> machine2   /h2AM                                                         0  1  1
> machine2   /h2NZ                                                         0  1  1
> machine2   /h3NZ
> machine2   /hAM                                                          0  1  1
> machine2   /hNZ                                                          0  1  1
> machine2   /vm
> machine2   /vw                   E     E  0  E        1  1  0  1  1  2      0  1
> include  "./[a-m]*"
> include  "./[n-z]*"
> include  "./rohit"
> machine3    /hAM                                                               0
> machine3    /hNZ                                                               0
> machine3    /rp                                                                0
> machine3    /vm
> machine3    /vw
> tar-low
> tar-med
> }        -1
> }        1

-- 
Jean-Louis Martineau             email: [EMAIL PROTECTED] 
D�partement IRO, Universit� de Montr�al
C.P. 6128, Succ. CENTRE-VILLE    Tel: (514) 343-6111 ext. 3529
Montr�al, Canada, H3C 3J7        Fax: (514) 343-5834
--- amanda-2.4.4p1.orig/server-src/amadmin.c    2003-01-03 22:35:54.000000000 -0500
+++ amanda-2.4.4p1.new/server-src/amadmin.c     2003-10-23 09:44:08.000000000 -0400
@@ -1454,7 +1454,7 @@
           ip->name[0] ? ip->name : "default");
 
     printf("    disk %s:\n", dp->name);
-    if(dp->device) printf("        device: %s\n", dp->device);
+    if(dp->device) printf("        device %s\n", dp->device);
 
     printf("        program \"%s\"\n", dp->program);
     if(dp->exclude_file != NULL && dp->exclude_file->nb_element > 0) {

Reply via email to