]> git.sur5r.net Git - bacula/bacula/commitdiff
Print warning when drive is unmounted + misc cleanups
authorKern Sibbald <kern@sibbald.com>
Tue, 9 Sep 2003 19:29:03 +0000 (19:29 +0000)
committerKern Sibbald <kern@sibbald.com>
Tue, 9 Sep 2003 19:29:03 +0000 (19:29 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@692 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/kernstodo
bacula/src/dird/dird.c

index 296cdf036704ab2c3d823fd141c6e9726433695b..369ef992ed354f36333dacb5e472effe7f667b5e 100644 (file)
@@ -1,5 +1,5 @@
                  Kern's ToDo List
-                 3 September 2003 
+                 9 September 2003 
 
 Documentation to do: (any release a little bit at a time)
 - Document running a test version.
@@ -34,10 +34,14 @@ For 1.32:
   scan 1; scan 1-5; scan 1,2,4 ...  to update the catalog 
 - Allow a slot or range of slots on the label barcodes command.
   when the magazine is changed.
-- Figure out what is interrupting sql command in console.
 - Don't print "Warning: Wrong Volume mounted ..." if mounting second
   volume.
 - Implement List Volume Job=xxx  or List scheduled volumes or Status Director 
+   
+
+For 1.33
+- If pool specified to label command and Label Format is specified,
+  automatically generate the Volume name.
 - Take a careful look a the Basic recycling algorithm.  When Bacula
   chooses, the order should be:
    - Look for Append
@@ -52,9 +56,7 @@ For 1.32:
 
   Define a "available" status, which is the currently mounted 
   Volume and all volumes that are currently in the autochanger.
-   
 
-For 1.33
 - Why can't SQL do the filename sort for restore?
 - Is a pool specification really needed for a restore?  Yes, and
   you may want to exclude archive Pools.
@@ -890,3 +892,7 @@ Done: (see kernsdone for more)
 - Specify list of files to restore
 - Implement ClientRunBeforeJob and ClientRunAfterJob.
 - Make | and < work on FD side.
+- Check to see if "blocked" is set during restore.
+- Figure out what is interrupting sql command in console.
+- Make new job print warning User Unmounted Tape.
+
index 665f7fb86a045e2dee591f254f882811d002f54d..91d7dd4e0afa9a08e7dcaf9f9f24cce6c2ec0e7d 100644 (file)
@@ -390,7 +390,11 @@ Without that I don't know who I am :-(\n"), configfile);
                  cr.MinValue = counter->MinValue;
                  cr.MaxValue = counter->MaxValue;
                  cr.CurrentValue = counter->MinValue;
-                 bstrncpy(cr.WrapCounter, counter->WrapCounter->hdr.name, sizeof(cr.WrapCounter));
+                 if (counter->WrapCounter) {
+                    bstrncpy(cr.WrapCounter, counter->WrapCounter->hdr.name, sizeof(cr.WrapCounter));
+                 } else {
+                    cr.WrapCounter[0] = 0;  /* empty string */
+                 }
                  if (db_create_counter_record(NULL, db, &cr)) {
                     counter->CurrentValue = cr.CurrentValue;
                     counter->created = true;