]> git.pld-linux.org Git - packages/bacula.git/commitdiff
- patch that fixes appending to DVD volumes
authorJacek Konieczny <jajcus@pld-linux.org>
Thu, 13 Apr 2006 20:03:14 +0000 (20:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bacula-dvd_append.patch -> 1.1

bacula-dvd_append.patch [new file with mode: 0644]

diff --git a/bacula-dvd_append.patch b/bacula-dvd_append.patch
new file mode 100644 (file)
index 0000000..04f311d
--- /dev/null
@@ -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;
This page took 0.153515 seconds and 4 git commands to generate.