  
 Index: src/cats/cats.h
 ===================================================================
---- src/cats/cats.h	(révision 8163)
-+++ src/cats/cats.h	(copie de travail)
+--- src/cats/cats.h	(revision 8163)
++++ src/cats/cats.h	(working copy)
 @@ -844,6 +844,8 @@
     uint32_t StartBlock;               /* start block on tape */
     uint32_t EndBlock;                 /* last block */

    }
    return 0;
 }
Index: src/stored/parse_bsr.c
===================================================================
--- src/stored/parse_bsr.c	(révision 8163)
+++ src/stored/parse_bsr.c	(copie de travail)
@@ -52,6 +52,7 @@
 static BSR *store_sessid(LEX *lc, BSR *bsr);
 static BSR *store_volfile(LEX *lc, BSR *bsr);

    uint32_t count = 0;
    uint32_t total_count = 0;
    uint32_t LastIndex = 0;
@@ -362,18 +363,20 @@
             }
             fprintf(fd, "VolSessionId=%u\n", bsr->VolSessionId);
             fprintf(fd, "VolSessionTime=%u\n", bsr->VolSessionTime);
-            if (bsr->VolParams[i].StartFile == bsr->VolParams[i].EndFile) {
-               fprintf(fd, "VolFile=%u\n", bsr->VolParams[i].StartFile);
-            } else {
-               fprintf(fd, "VolFile=%u-%u\n", bsr->VolParams[i].StartFile,
-                       bsr->VolParams[i].EndFile);
-            }
-            if (bsr->VolParams[i].StartBlock == bsr->VolParams[i].EndBlock) {
-               fprintf(fd, "VolBlock=%u\n", bsr->VolParams[i].StartBlock);
-            } else {
-               fprintf(fd, "VolBlock=%u-%u\n", bsr->VolParams[i].StartBlock,
-                       bsr->VolParams[i].EndBlock);
-            }
+//            if (bsr->VolParams[i].StartFile == bsr->VolParams[i].EndFile) {
+//               fprintf(fd, "VolFile=%u\n", bsr->VolParams[i].StartFile);
+//            } else {
+//               fprintf(fd, "VolFile=%u-%u\n", bsr->VolParams[i].StartFile,
+//                       bsr->VolParams[i].EndFile);
+//            }
+//            if (bsr->VolParams[i].StartBlock == bsr->VolParams[i].EndBlock) {
+//               fprintf(fd, "VolBlock=%u\n", bsr->VolParams[i].StartBlock);
+//            } else {
+//               fprintf(fd, "VolBlock=%u-%u\n", bsr->VolParams[i].StartBlock,
+//                       bsr->VolParams[i].EndBlock);
+//            }
+            fprintf(fd, "VolAddr=%s-%s\n", edit_uint64(bsr->VolParams[i].StartAddr, ed1),
+                    edit_uint64(bsr->VolParams[i].EndAddr, ed2));
    //       Dmsg2(100, "bsr VolParam FI=%u LI=%u\n",
    //          bsr->VolParams[i].FirstIndex, bsr->VolParams[i].LastIndex);
 
@@ -428,18 +431,20 @@
             }
             fprintf(fd, "VolSessionId=%u\n", bsr->VolSessionId);
             fprintf(fd, "VolSessionTime=%u\n", bsr->VolSessionTime);
-            if (bsr->VolParams[i].StartFile == bsr->VolParams[i].EndFile) {
-               fprintf(fd, "VolFile=%u\n", bsr->VolParams[i].StartFile);
-            } else {
-               fprintf(fd, "VolFile=%u-%u\n", bsr->VolParams[i].StartFile,
-                       bsr->VolParams[i].EndFile);
-            }
-            if (bsr->VolParams[i].StartBlock == bsr->VolParams[i].EndBlock) {
-               fprintf(fd, "VolBlock=%u\n", bsr->VolParams[i].StartBlock);
-            } else {
-               fprintf(fd, "VolBlock=%u-%u\n", bsr->VolParams[i].StartBlock,
-                       bsr->VolParams[i].EndBlock);
-            }
+//            if (bsr->VolParams[i].StartFile == bsr->VolParams[i].EndFile) {
+//               fprintf(fd, "VolFile=%u\n", bsr->VolParams[i].StartFile);
+//            } else {
+//               fprintf(fd, "VolFile=%u-%u\n", bsr->VolParams[i].StartFile,
+//                       bsr->VolParams[i].EndFile);
+//            }
+//            if (bsr->VolParams[i].StartBlock == bsr->VolParams[i].EndBlock) {
+//               fprintf(fd, "VolBlock=%u\n", bsr->VolParams[i].StartBlock);
+//            } else {
+//               fprintf(fd, "VolBlock=%u-%u\n", bsr->VolParams[i].StartBlock,
+//                       bsr->VolParams[i].EndBlock);
+//            }
+            fprintf(fd, "VolAddr=%s-%s\n", edit_uint64(bsr->VolParams[i].StartAddr, ed1),
+                    edit_uint64(bsr->VolParams[i].EndAddr, ed2));
    //       Dmsg2(100, "bsr VolParam FI=%u LI=%u\n",
