[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bacula-commits
Subject:    [Bacula-commits] SF.net SVN: bacula: [5999] trunk/bacula
From:       ricozz () users ! sourceforge ! net
Date:       2007-11-29 21:36:36
Message-ID: E1Ixr3k-0005b7-SA () sc8-pr-svn2 ! sourceforge ! net
[Download RAW message or body]

Revision: 5999
          http://bacula.svn.sourceforge.net/bacula/?rev=5999&view=rev
Author:   ricozz
Date:     2007-11-29 13:36:36 -0800 (Thu, 29 Nov 2007)

Log Message:
-----------
ebl  Add Richard Mortimer patch about #1016

Modified Paths:
--------------
    trunk/bacula/src/stored/dev.c
    trunk/bacula/technotes-2.3

Added Paths:
-----------
    trunk/bacula/patches/2.2.6-dvdwrite_trialfix.patch

Added: trunk/bacula/patches/2.2.6-dvdwrite_trialfix.patch
===================================================================
--- trunk/bacula/patches/2.2.6-dvdwrite_trialfix.patch	                        (rev \
                0)
+++ trunk/bacula/patches/2.2.6-dvdwrite_trialfix.patch	2007-11-29 21:36:36 UTC (rev \
5999) @@ -0,0 +1,28 @@
+  This patch should fix #1016 when there are more than one "part" to write.
+  Instead of each part being stored on disk, written to DVD, then deleted from
+  disk, all parts are written to disk, and only the last is written and deleted
+  from disk.
+
+  Apply it to 2.2.6 (and possibly previous 2.2.x versions) with:
+
+  cd <bacula-source>
+  patch -p0 <2.2.6-dvdwrite_trialfix.patch
+  ./configure <your-options>
+  make
+  ...
+  make install
+
+
+Index: src/stored/dev.c
+===================================================================
+--- src/stored/dev.c	(revision 5996)
++++ src/stored/dev.c	(working copy)
+@@ -1856,7 +1856,7 @@
+    /* Clean up device packet so it can be reused */
+    clear_opened();
+    state &= ~(ST_LABEL|ST_READ|ST_APPEND|ST_EOT|ST_WEOT|ST_EOF|
+-              ST_MOUNTED|ST_MEDIA|ST_SHORT|ST_FREESPACE_OK|ST_PART_SPOOLED);
++              ST_MOUNTED|ST_MEDIA|ST_SHORT);
+    label_type = B_BACULA_LABEL;
+    file = block_num = 0;
+    file_size = 0;

Modified: trunk/bacula/src/stored/dev.c
===================================================================
--- trunk/bacula/src/stored/dev.c	2007-11-29 21:32:12 UTC (rev 5998)
+++ trunk/bacula/src/stored/dev.c	2007-11-29 21:36:36 UTC (rev 5999)
@@ -1856,7 +1856,7 @@
    /* Clean up device packet so it can be reused */
    clear_opened();
    state &= ~(ST_LABEL|ST_READ|ST_APPEND|ST_EOT|ST_WEOT|ST_EOF|
-              ST_MOUNTED|ST_MEDIA|ST_SHORT|ST_FREESPACE_OK|ST_PART_SPOOLED);
+              ST_MOUNTED|ST_MEDIA|ST_SHORT);
    label_type = B_BACULA_LABEL;
    file = block_num = 0;
    file_size = 0;

Modified: trunk/bacula/technotes-2.3
===================================================================
--- trunk/bacula/technotes-2.3	2007-11-29 21:32:12 UTC (rev 5998)
+++ trunk/bacula/technotes-2.3	2007-11-29 21:36:36 UTC (rev 5999)
@@ -1,6 +1,11 @@
               Technical notes on version 2.3
 
 General:
+29Nov07
+ebl  Apply Richard Mortimer patch that fixes #1016 when there are more than 
+     one "part" to write.  Instead of each part being stored on disk, 
+     written to DVD, then deleted from disk, all parts are written to disk,
+     and only the last is written and deleted from disk.
 kes  This patch fixes the status command to include the formating string for
      JS_AttrInsterting.  It fixes bug #1021.
 kes  This patch should fix the Mac OS X build problem on the latest


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Bacula-commits mailing list
Bacula-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic