SOURCES: bacula-dvd_restore.patch (NEW) A patch making restoring f...

jajcus jajcus at pld-linux.org
Sun Jun 11 22:07:38 CEST 2006


Author: jajcus                       Date: Sun Jun 11 20:07:38 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
A patch making restoring from DVD work, posted to the bacula-devel list
by Uwe Müssel, Message-ID: <448C510B.8090904 at web.de>.

---- Files affected:
SOURCES:
   bacula-dvd_restore.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/bacula-dvd_restore.patch
diff -u /dev/null SOURCES/bacula-dvd_restore.patch:1.1
--- /dev/null	Sun Jun 11 22:07:38 2006
+++ SOURCES/bacula-dvd_restore.patch	Sun Jun 11 22:07:33 2006
@@ -0,0 +1,13 @@
+Index: src/stored/block.c
+===================================================================
+--- src/stored/block.c	(revision 2)
++++ src/stored/block.c	(working copy)
+@@ -912,7 +912,7 @@
+          (dev->part <= dev->VolCatInfo.VolCatParts));*/
+    /* Check for part file end */
+    if ((dev->num_parts > 0) &&
+-        ((dev->file_addr-dev->part_start) == dev->part_size) && 
++        (dev->at_eof()) && 
+         (dev->part < dev->num_parts)) {
+       if (dvd_open_next_part(dcr) < 0) {
+          Jmsg2(dcr->jcr, M_FATAL, 0, _("Unable to open device next part %s: ERR=%s\n"),
================================================================


More information about the pld-cvs-commit mailing list