]> git.sur5r.net Git - bacula/bacula/commitdiff
Disable normal data spooling for DVD writing which uses
authorKern Sibbald <kern@sibbald.com>
Sun, 10 Sep 2006 12:26:16 +0000 (12:26 +0000)
committerKern Sibbald <kern@sibbald.com>
Sun, 10 Sep 2006 12:26:16 +0000 (12:26 +0000)
     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
bacula/technotes-1.39

index f64d0c0930a5419b7faa5d27a13468d067544d0a..d79b0f08578210ecfa5dbbee02a095d39db77787 100644 (file)
@@ -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);
index ff63cbb29b7b7c2e996cd90ecef9048444b48c89..2a0712a7a82c7cff6a9453e6019d36256a1f6473 100644 (file)
@@ -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.