From 04a61bac2e2465cdfde7e199d318363bdb7e3c51 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 10 Sep 2006 12:26:16 +0000 Subject: [PATCH] Disable normal data spooling for DVD writing which uses a different spooling mechanism. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3452 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/stored/spool.c | 2 +- bacula/technotes-1.39 | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bacula/src/stored/spool.c b/bacula/src/stored/spool.c index f64d0c0930..d79b0f0857 100644 --- a/bacula/src/stored/spool.c +++ b/bacula/src/stored/spool.c @@ -92,7 +92,7 @@ void list_spool_stats(void sendit(const char *msg, int len, void *sarg), void *a bool begin_data_spool(DCR *dcr) { bool stat = true; - if (dcr->jcr->spool_data) { + if (!dcr->dev->is_dvd() && dcr->jcr->spool_data) { Dmsg0(100, "Turning on data spooling\n"); dcr->spool_data = true; stat = open_data_spool_file(dcr); diff --git a/bacula/technotes-1.39 b/bacula/technotes-1.39 index ff63cbb29b..2a0712a7a8 100644 --- a/bacula/technotes-1.39 +++ b/bacula/technotes-1.39 @@ -2,6 +2,8 @@ General: 10Sep06 +kes Disable normal data spooling for DVD writing which uses + a different spooling mechanism. kes Apply patch from Richard Mortimer to ensure that the number of DVD parts is correctly updated. -- 2.39.5