1 This patch should fix #1016 when there are more than one "part" to write.
2 Instead of each part being stored on disk, written to DVD, then deleted from
3 disk, all parts are written to disk, and only the last is written and deleted
6 Apply it to 2.2.6 (and possibly previous 2.2.x versions) with:
9 patch -p0 <2.2.6-dvdwrite_trialfix.patch
10 ./configure <your-options>
16 Index: src/stored/dev.c
17 ===================================================================
18 --- src/stored/dev.c (revision 5996)
19 +++ src/stored/dev.c (working copy)
21 /* Clean up device packet so it can be reused */
23 state &= ~(ST_LABEL|ST_READ|ST_APPEND|ST_EOT|ST_WEOT|ST_EOF|
24 - ST_MOUNTED|ST_MEDIA|ST_SHORT|ST_FREESPACE_OK|ST_PART_SPOOLED);
25 + ST_MOUNTED|ST_MEDIA|ST_SHORT);
26 label_type = B_BACULA_LABEL;