General:
Changes to 1.37.41:
+11Oct05
+- Add extra debug to Update media error for VolFiles decrease
+ error.
+- Do not update dev->file on set_ateof() for non-tape.
10Oct05
- Mark DVD volume in error if part cannot be written.
- If a DVD is mounted, unmount it before asking operator
" for Volume \"%s\". This is incorrect.\n"),
mr.VolFiles, sdmr.VolFiles, mr.VolumeName);
bnet_fsend(bs, _("1992 Update Media error. VolFiles=%u, CatFiles=%u\n"),
- sdmr.VolFiles, mr.VolViles);
+ sdmr.VolFiles, mr.VolFiles);
db_unlock(jcr->db);
return;
}
return false;
}
- Dmsg1(300, "Update cat VolFiles=%d\n", dev->file);
+ Dmsg1(100, "Update cat VolFiles=%d\n", dev->file);
/* Just labeled or relabeled the tape */
if (label) {
bstrncpy(vol->VolCatStatus, "Append", sizeof(vol->VolCatStatus));
void DEVICE::set_ateof()
{
set_eof();
- file++;
+ if (is_tape()) {
+ file++;
+ }
file_addr = 0;
file_size = 0;
block_num = 0;
#undef VERSION
#define VERSION "1.37.41"
-#define BDATE "10 October 2005"
-#define LSMDATE "10Oct05"
+#define BDATE "11 October 2005"
+#define LSMDATE "11Oct05"
/* Debug flags */
#undef DEBUG