SOURCES: bacula-dvd_append.patch (NEW) - patch that fixes appendin...
jajcus
jajcus at pld-linux.org
Thu Apr 13 22:03:19 CEST 2006
Author: jajcus Date: Thu Apr 13 20:03:19 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- patch that fixes appending to DVD volumes
---- Files affected:
SOURCES:
bacula-dvd_append.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/bacula-dvd_append.patch
diff -u /dev/null SOURCES/bacula-dvd_append.patch:1.1
--- /dev/null Thu Apr 13 22:03:19 2006
+++ SOURCES/bacula-dvd_append.patch Thu Apr 13 22:03:14 2006
@@ -0,0 +1,12 @@
+diff -dur -x '*~' bacula-1.38.6.orig/src/stored/mount.c bacula-1.38.6/src/stored/mount.c
+--- bacula-1.38.6.orig/src/stored/mount.c 2006-03-16 19:16:44.000000000 +0100
++++ bacula-1.38.6/src/stored/mount.c 2006-04-12 17:40:06.000000000 +0200
+@@ -328,7 +328,7 @@
+ *
+ * If the tape is marked as Recycle, we rewrite the label.
+ */
+- if (dev->VolHdr.LabelType == PRE_LABEL || recycle) {
++ if ((dev->VolHdr.LabelType == PRE_LABEL && !dev->is_dvd()) || recycle) {
+ if (!rewrite_volume_label(dcr, recycle)) {
+ mark_volume_in_error(dcr);
+ goto mount_next_vol;
================================================================
More information about the pld-cvs-commit
mailing list