git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2442
91ce42f0-d328-0410-95d8-
f526ca767f89
Changes to 1.37.*:
14Oct05
+ - dvd.c:dvd_write_part: Use part_size and not max_part_size when setting write timeout.
- dvd.c:do_mount_dev: When checking if the DVD is mounted, do not count ., .. and .keep (needed on Gentoo).
15Aug05
- Convert dvd-writepart to Python.
* timeout = dev->max_open_wait + (dev->max_part_size/(1350*1024/2));
* I modified this for a longer timeout; pre-formatting, blanking and
* writing can take quite a while
+ *
+ * NB: Use part_size and not max_part_size, needed when you don't set max part size (so it defaults to 0)
*/
- timeout = dev->max_open_wait + (dev->max_part_size/(1350*1024)*8);
+ timeout = dev->max_open_wait + (dev->part_size/(1350*1024)*8);
Dmsg2(29, "dvd_write_part: cmd=%s timeout=%d\n", ocmd.c_str(), timeout);