From: Kern Sibbald Date: Wed, 6 Sep 2006 20:55:14 +0000 (+0000) Subject: kes Add dev->close() in dir_ask_sysop_to_mount_volume() in X-Git-Tag: Release-2.0.0~497 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e4512d6eec7ca8d3bcafc82684f3ad9a39ece000;p=bacula%2Fbacula kes Add dev->close() in dir_ask_sysop_to_mount_volume() in bcopy. Fixes bug #669 reported by Eric. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3420 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/ReleaseNotes b/bacula/ReleaseNotes index 157dbbb0e1..2c768f1621 100644 --- a/bacula/ReleaseNotes +++ b/bacula/ReleaseNotes @@ -1,5 +1,5 @@ - Release Notes for Bacula 1.39.20 + Release Notes for Bacula 1.39.22 Bacula code: Total files = 448 Total lines = 150,330 (*.h *.c *.in) @@ -18,6 +18,33 @@ New Features in 1.39.20: triggered it -- makes why not descending a bit clearer - Do not unload autochanger when doing "update slots" - Implement mount command for autochanger +- The new Win32 installer requires that you deinstall any + previous version before installing the new version. + The simplest way to do that is in a DOS shell: + + cd c:\bacula\bin + net stop bacula + net stop baculfd + ./bacula-fd /remove + (Install the new Bacula) + + Note, one or both of the 'net stop' commands may fail. Don't + worry about it. + + If you didn't read the release notes or forgot to do those + commands, try the following: + + cd c:\bacula\bin + net stop bacula + net stop baculafd + sc delete bacula + sc delete baculafd + + Note, at least one of the 'net' commands and possibly both + will fail, and at least one of the 'sc' commands will fail. + Don't worry about it. After that, try again to install + the new Bacula. + Fixes for 1.39.20: - Writing DVDs should work much better thanks to Richard Mortimer. diff --git a/bacula/src/stored/bcopy.c b/bacula/src/stored/bcopy.c index 62efd325aa..9a11c37a3a 100644 --- a/bacula/src/stored/bcopy.c +++ b/bacula/src/stored/bcopy.c @@ -288,6 +288,7 @@ bool dir_ask_sysop_to_mount_volume(DCR *dcr) DEVICE *dev = dcr->dev; fprintf(stderr, _("Mount Volume \"%s\" on device %s and press return when ready: "), dcr->VolumeName, dev->print_name()); + dev->close(); getchar(); return true; } diff --git a/bacula/technotes-1.39 b/bacula/technotes-1.39 index 92953a5c72..49c3943160 100644 --- a/bacula/technotes-1.39 +++ b/bacula/technotes-1.39 @@ -2,6 +2,8 @@ General: 06Sep06 +kes Add dev->close() in dir_ask_sysop_to_mount_volume() in + bcopy. Fixes bug #669 reported by Eric. kes Fix incorrect number of arguments in SQL statement in sql_get.c as reported by Eric. kes Manual updates.