From: Kern Sibbald Date: Sun, 10 Sep 2006 12:26:16 +0000 (+0000) Subject: Disable normal data spooling for DVD writing which uses X-Git-Tag: Release-2.0.0~465 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6bfe5e0801e162a859b5fac224b53c9ab5195a64;p=bacula%2Fbacula 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 --- 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.