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

List:       bacula-commits
Subject:    [Bacula-commits] SF.net SVN: bacula: [5998]
From:       ricozz () users ! sourceforge ! net
Date:       2007-11-29 21:32:12
Message-ID: E1IxqzU-0004h0-Fk () sc8-pr-svn2 ! sourceforge ! net
[Download RAW message or body]

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

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

Added Paths:
-----------
    branches/Branch-2.2/bacula/patches/2.2.6-dvdwrite_trialfix.patch

Added: branches/Branch-2.2/bacula/patches/2.2.6-dvdwrite_trialfix.patch
===================================================================
--- branches/Branch-2.2/bacula/patches/2.2.6-dvdwrite_trialfix.patch	                 \
                (rev 0)
+++ branches/Branch-2.2/bacula/patches/2.2.6-dvdwrite_trialfix.patch	2007-11-29 \
21:32:12 UTC (rev 5998) @@ -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;


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