dcr->clear_reserved();
if (dev->can_read()) {
+ VOLUME_CAT_INFO *vol = &dev->VolCatInfo;
dev->clear_read(); /* clear read bit */
- Dmsg0(100, "dir_update_vol_info. Release0\n");
- dir_update_volume_info(dcr, false, false); /* send Volume info to Director */
- volume_unused(dcr);
-
+ Dmsg2(000, "dir_update_vol_info. label=%d Vol=%s\n",
+ dev->is_labeled(), vol->VolCatName);
+ if (dev->is_labeled() && vol->VolCatName[0] != 0) {
+ dir_update_volume_info(dcr, false, false); /* send Volume info to Director */
+ volume_unused(dcr);
+ }
} else if (dev->num_writers > 0) {
/*
* Note if WEOT is set, we are at the end of the tape
#undef VERSION
#define VERSION "2.5.3"
-#define BDATE "12 Aug 2008"
-#define LSMDATE "12Aug08"
+#define BDATE "21 Aug 2008"
+#define LSMDATE "21Aug08"
#define PROG_COPYRIGHT "Copyright (C) %d-2008 Free Software Foundation Europe e.V.\n"
#define BYEAR "2008" /* year for copyright messages in progs */
General:
+21Aug08
+kes Fix NULL Volume error when reading (or Migration or VBackup) must switch
+ drives when no tape is mounted.
18Aug08
kes Add additional info to some SD messages.
kes Add fix supplied by Martin Simmons for turning off EOL character