Nicolas Boichat [Wed, 19 Oct 2005 15:03:22 +0000 (15:03 +0000)]
block.c:do_dvd_size_checks: Check we are writing to a dvd before doing
tests (reported by David Raine on the list, "[Bacula-users] LTO drive -
End Of Volume error").
Nicolas Boichat [Mon, 17 Oct 2005 22:03:52 +0000 (22:03 +0000)]
- Add tests for dvd+rw-format in configure script.
- scripts/dvd-handler: Reformat DVD-RW when needed. This needs dvd+rw-format.
- Add patch for dvd+rw-tools in patches dir (this should probably be elsewhere).
Nicolas Boichat [Sun, 16 Oct 2005 21:19:51 +0000 (21:19 +0000)]
scripts/dvd-handler: "zero" brand-new DVD+/-RW to fix a problem with some
DVD-writers, thanks to Arno Lehmann for reporting this, and providing the
way to fix it.
Kern Sibbald [Thu, 13 Oct 2005 13:55:09 +0000 (13:55 +0000)]
- Modify DVD code so that it keeps a state flag that indicates
when the freespace variable is valid. freespace_errno, now has
either 0 or an errno. There are no negative errnos.
- Create is_freespace_ok() to test state flag. Also, set_freespace_ok()
and clear_freespace_ok(). Modify code to use them. This
simplifies a bit the logic of the freespace code.
- Edit 64bit debug values correctly in dvd.c
- Fix %e variable to check num_parts rather than part.
- Use static buffer instead of static buffers for FI_to_ascii()
and stream_to_ascii() debug routines in SD. This is to prevent
possible race conditions between two threads (possibly Phil's
unmount problem).
Kern Sibbald [Wed, 12 Oct 2005 15:36:56 +0000 (15:36 +0000)]
- Add a .dir command that separates arguments with commas. It
is intended to be used in the tree routines to get a
machine readable output for GUIs like wx-console.
Kern Sibbald [Mon, 10 Oct 2005 14:15:00 +0000 (14:15 +0000)]
- Add Arno's dvd-handler script to the scripts directory and
integrate with configure. It replaces both existing scripts.
- Make default schedule start at 23:10
- Implement gui release in Makefile. It creates two .tar.gz
bacula-web and bimagemgr.
Kern Sibbald [Sat, 8 Oct 2005 12:18:53 +0000 (12:18 +0000)]
- Add README plus tar release to gui project.
- Manual documentation
- Tweak bacula.man doc
- Add PRAGMA synchronous = NORMAL; to SQLite3 tables. This
speeds up SQLite3 so it is only about 10% slower than version
2.xx. Thanks to Russell Howe for this tip.
- Add msvcr71.dll to pebuilder .inf file as it is needed by
Bacula FD. Thanks to Brandon for passing this fix to Scott.
Kern Sibbald [Thu, 6 Oct 2005 07:03:52 +0000 (07:03 +0000)]
- Add VolumePurged method to Python JobEvents class. Fixes
bug #428 (I think).
- Add JobId index to File table for MySQL.
- Correct tray-monitor crash of bacula-dir. qstatus_cmd()
code referenced the wrong pointer. Fixes bug #438.
- Add bacualnovss.mak file from Martin.
- Remove Pool from restore string in wbrestorepanel.cpp. Patch
from user for bug #433.
- Correct code in wbrestorpanel.cpp with misplaced parens. Patch
from user for bug #431
- Correct printing filenames/date/times in wbrestorepanel.cpp due to bad
column alignment. Patch from user for bug #432.
- Integrate libwrap patch from Szechuan Death. They should
also fix bug 423.
- Clean up patches directory for next release.
- Add PS variable in bacula.in script as recommended by a user.
- Correct mtx-changer.in so it only creates a temp file when
actually needed.
- Add patch supplied by user in a bug report to fix gnome2
console buttons.
- Add patch from Peter Eriksson <peter@ifm.liu.se> to correct
NLS error in tray-monitor.c
- Fix mode change open in btape.c
- Use nonblocking opens on Linux only.
- Move set_blocking code for tapes into method to
simplify main line code.
- Cleanup the code for ensuring we advance tape on fsf.
This should fix IBM problems -- patch from Adam Thorton
was very helpful.
- Remove test for BMT_EOD in fixup_device... this eliminates
need for status_dev() routine.
- Before doing label ensure device is in read-write mode.
- Fix handling of temp file in mtx_changer.in, reported as
a security bug, but it is not really. Bug #422
- Fix security problem of handling temp file in randpass.
Bug #422.
- During label/relabel, add new_volume to VOLRES list in SD.
- Make quit command in console always allowed.
- Remove the storage list between each console command to keep Dir from remembering a previously selected SD.
- Add code to reservation VOLRES subroutines to try to ensure
we don't end up with two Volumes on the same drive.
- Simplify the mutex code in VOLRES a bit to reduce the chance
of error.
- Apply Nicolas' dvd-freespace.in patch.
- Make sure SQL table names are not translated.
- Eliminate incorrect message saying barcodes not
found in label barcodes -- fixes bug report.
07Sep05
- Add ability to have passwords on backup of catalog as
alternate 3rd argument. Submitted by a user.
- Turn off TapeAlert by default if user enables a Device
and add a note to install mtx.
Kern Sibbald [Wed, 31 Aug 2005 15:29:40 +0000 (15:29 +0000)]
- Final tweaks to build Win32.
- Enable debug code in ua_label.c
- Remove devices from the Volume list even if no
Volume is in drive. Hopefully this fixes Arno's problem
of multiple volumes listed in the same drive.