]> git.sur5r.net Git - bacula/docs/log
bacula/docs
19 years agoFinal changes
Kern Sibbald [Sun, 8 May 2005 09:18:24 +0000 (09:18 +0000)]
Final changes

19 years agomoved g_platform_id to winapi
Thorsten Engel [Sat, 7 May 2005 23:45:56 +0000 (23:45 +0000)]
moved g_platform_id to winapi

19 years agoenable correct unlink on win32, add utf-8 fputs, add utf-8 cgets
Thorsten Engel [Sat, 7 May 2005 23:45:07 +0000 (23:45 +0000)]
enable correct unlink on win32, add utf-8 fputs, add utf-8 cgets

19 years agocygwin_conv with length check, enable correct unlink on win32, add utf-8 fputs, add...
Thorsten Engel [Sat, 7 May 2005 23:44:37 +0000 (23:44 +0000)]
cygwin_conv with length check, enable correct unlink on win32, add utf-8 fputs, add utf-8 cgets

19 years agocygwin_conv with length check
Thorsten Engel [Sat, 7 May 2005 23:44:07 +0000 (23:44 +0000)]
cygwin_conv with length check

19 years agoutf-8 support on win32 by replacing fputs and fgets
Thorsten Engel [Sat, 7 May 2005 23:42:14 +0000 (23:42 +0000)]
utf-8 support on win32 by replacing fputs and fgets

19 years agoFinal changes
Kern Sibbald [Sat, 7 May 2005 17:22:45 +0000 (17:22 +0000)]
Final changes

19 years agoMore work on cached attributes + sig
Kern Sibbald [Sat, 7 May 2005 17:21:59 +0000 (17:21 +0000)]
More work on cached attributes + sig

19 years agoMove sqlite install dir and remove readline dependency.
Scott Barninger [Sat, 7 May 2005 14:33:14 +0000 (14:33 +0000)]
Move sqlite install dir and remove readline dependency.

19 years agoAdd changes
Kern Sibbald [Sat, 7 May 2005 14:18:04 +0000 (14:18 +0000)]
Add changes

19 years agoAdd changes
Kern Sibbald [Sat, 7 May 2005 12:56:07 +0000 (12:56 +0000)]
Add changes

19 years ago- Optimize File pruning to eliminate one database call.
Kern Sibbald [Sat, 7 May 2005 10:43:02 +0000 (10:43 +0000)]
- Optimize File pruning to eliminate one database call.
- Fix bug that prevented File pruning from working.
- Implement a cstrlen() which returns the character
  length of a UTF-8 string.

19 years agoFix Win32 build for TLS
Kern Sibbald [Sat, 7 May 2005 07:43:35 +0000 (07:43 +0000)]
Fix Win32 build for TLS

19 years agoUpdate version
Kern Sibbald [Fri, 6 May 2005 15:56:40 +0000 (15:56 +0000)]
Update version

19 years ago- Move test for MaxStartDelay as suggested by Peter.
Kern Sibbald [Fri, 6 May 2005 15:54:59 +0000 (15:54 +0000)]
- Move test for MaxStartDelay as suggested by Peter.
- Implement Python methods (I had to read the Python source
  code).
- Implement run() method in Director.
- Add Priority and Scheduled time to Job report.
- Add JobInit and JobRun events.
- Add Priority as Python read/write attribute to Job.
- Correct typo in bsmtp reported by Jo.

19 years agoadded usage of InitWinAPIWrapper
Thorsten Engel [Fri, 6 May 2005 14:56:37 +0000 (14:56 +0000)]
added usage of InitWinAPIWrapper

19 years agoadded InitWinAPIWrapper
Thorsten Engel [Fri, 6 May 2005 14:55:37 +0000 (14:55 +0000)]
added InitWinAPIWrapper

19 years agoFix a problem when link count for a file is greater than 99 (bug #304).
Nicolas Boichat [Thu, 5 May 2005 18:58:48 +0000 (18:58 +0000)]
Fix a problem when link count for a file is greater than 99 (bug #304).

19 years agoAdd patch 1.36.3-wx-console-fix-dir-alignment.diff (bug #304).
Nicolas Boichat [Thu, 5 May 2005 18:53:35 +0000 (18:53 +0000)]
Add patch 1.36.3-wx-console-fix-dir-alignment.diff (bug #304).

19 years agoAdd a workaround for a problem when displaying Unicode filenames with non-Unicode...
Nicolas Boichat [Thu, 5 May 2005 13:50:31 +0000 (13:50 +0000)]
Add a workaround for a problem when displaying Unicode filenames with non-Unicode wxWidgets.

19 years agoFinal changes
Kern Sibbald [Thu, 5 May 2005 09:52:53 +0000 (09:52 +0000)]
Final changes

19 years agoUpdate doc
Kern Sibbald [Thu, 5 May 2005 09:35:40 +0000 (09:35 +0000)]
Update doc

19 years agoUpdate doc
Kern Sibbald [Wed, 4 May 2005 18:37:52 +0000 (18:37 +0000)]
Update doc

19 years agoRemember the last window position and size.
Nicolas Boichat [Wed, 4 May 2005 15:35:53 +0000 (15:35 +0000)]
Remember the last window position and size.

19 years agoFix compilation warnings with wxWidgets 2.6.0.
Nicolas Boichat [Tue, 3 May 2005 19:32:39 +0000 (19:32 +0000)]
Fix compilation warnings with wxWidgets 2.6.0.

19 years agoMake a few tls ifdef tweaks
Kern Sibbald [Tue, 3 May 2005 17:21:43 +0000 (17:21 +0000)]
Make a few tls ifdef tweaks

19 years agoFix init_tls warnings
Kern Sibbald [Tue, 3 May 2005 17:05:12 +0000 (17:05 +0000)]
Fix init_tls warnings

19 years agoRemove winapi.h/c from findlib
Kern Sibbald [Tue, 3 May 2005 14:19:27 +0000 (14:19 +0000)]
Remove winapi.h/c from findlib

19 years agoOne more compat.cpp fix
Kern Sibbald [Tue, 3 May 2005 14:08:00 +0000 (14:08 +0000)]
One more compat.cpp fix

19 years agoFix create_file.c Win32 problem pointed out by
Kern Sibbald [Tue, 3 May 2005 13:40:09 +0000 (13:40 +0000)]
Fix create_file.c Win32 problem pointed out by
  Peter Sjoberg.

19 years agouse lib directory instead of findlib
Thorsten Engel [Tue, 3 May 2005 13:18:02 +0000 (13:18 +0000)]
use lib directory instead of findlib

19 years agoFix wxChoice height problem under wxGTK-2.6.0 (GTK+-2.0).
Nicolas Boichat [Tue, 3 May 2005 13:02:16 +0000 (13:02 +0000)]
Fix wxChoice height problem under wxGTK-2.6.0 (GTK+-2.0).

19 years agoFix really ugly bstrncpy() but found by Thorsten.
Kern Sibbald [Tue, 3 May 2005 12:59:42 +0000 (12:59 +0000)]
Fix really ugly bstrncpy() but found by Thorsten.

19 years agoMove winapi.h/c from findlib to lib for inclusion in multiple places
Kern Sibbald [Tue, 3 May 2005 12:51:31 +0000 (12:51 +0000)]
Move winapi.h/c from findlib to lib for inclusion in multiple places

19 years agoFix wxWidgets 2.4 problem at configure time.
Nicolas Boichat [Tue, 3 May 2005 12:22:21 +0000 (12:22 +0000)]
Fix wxWidgets 2.4 problem at configure time.

19 years ago- Thorsten Engel finished his work on Win32 Unicode. We
Kern Sibbald [Mon, 2 May 2005 18:36:19 +0000 (18:36 +0000)]
- Thorsten Engel finished his work on Win32 Unicode. We
  now have a single executable that runs on all Win32 machines.
- Move job initialization code after job scheduling so that
  Verify jobs check for the prior JobId after they are really
  started rather than before.

19 years agoUTF-8 support for win32 finished
Thorsten Engel [Mon, 2 May 2005 14:37:22 +0000 (14:37 +0000)]
UTF-8 support for win32 finished

19 years ago- Fix lib/fnmatch.c so that it does proper testing before folding.
Kern Sibbald [Mon, 2 May 2005 13:23:27 +0000 (13:23 +0000)]
- Fix lib/fnmatch.c so that it does proper testing before folding.
- More documentation -- at tls and ansi labels chapters.
- Fix fileset_convert.pl to handle empty Exclude statements.
- Turn regex back off in Win32

19 years agoadded (unsigned char) to prevent assertion in win32
Thorsten Engel [Mon, 2 May 2005 10:49:29 +0000 (10:49 +0000)]
added (unsigned char) to prevent assertion in win32

19 years agoMore regex stuff
Kern Sibbald [Sun, 1 May 2005 12:37:42 +0000 (12:37 +0000)]
More regex stuff

19 years agoChange name of regex.h
Kern Sibbald [Sun, 1 May 2005 12:26:29 +0000 (12:26 +0000)]
Change name of regex.h

19 years agoAdd start of regex
Kern Sibbald [Sun, 1 May 2005 12:25:48 +0000 (12:25 +0000)]
Add start of regex

19 years ago- Fix sign extension problem in lex.c that reads UTF-8
Kern Sibbald [Sun, 1 May 2005 09:26:28 +0000 (09:26 +0000)]
- Fix sign extension problem in lex.c that reads UTF-8
  with Chinese characters incorrectly.

19 years agoRemove test
Kern Sibbald [Sat, 30 Apr 2005 19:41:43 +0000 (19:41 +0000)]
Remove test

19 years agoStart Python documentation
Kern Sibbald [Sat, 30 Apr 2005 19:39:50 +0000 (19:39 +0000)]
Start Python documentation

19 years ago- Remove a few HAVE_TLS #ifdefs
Kern Sibbald [Sat, 30 Apr 2005 14:47:49 +0000 (14:47 +0000)]
- Remove a few HAVE_TLS #ifdefs
- Implement final Python style interface. More implemention to
  be done, but the interface should change little if at all.

19 years agoUpdate release notes
Kern Sibbald [Thu, 28 Apr 2005 20:38:42 +0000 (20:38 +0000)]
Update release notes

19 years ago- Make default no tls support. You must add
Kern Sibbald [Thu, 28 Apr 2005 19:16:22 +0000 (19:16 +0000)]
- Make default no tls support. You must add
  --with-openssl to get tls support.

19 years ago- Update Web header to include google search in the search
Kern Sibbald [Wed, 27 Apr 2005 20:52:59 +0000 (20:52 +0000)]
- Update Web header to include google search in the search
  box -- thanks to input from Michel Meyers.
- Fix md5sum so that it builds with the new openssl stuff.
- Take some enhancements to the md5sum test program proposed
  by a user.

19 years agoMake option 2 of restore work better (list last 20
Kern Sibbald [Tue, 26 Apr 2005 21:24:15 +0000 (21:24 +0000)]
Make option 2 of restore work better (list last 20
  locations for a file).

19 years agowx-console: Improve error handling when reading configuration file.
Nicolas Boichat [Tue, 26 Apr 2005 21:21:35 +0000 (21:21 +0000)]
wx-console: Improve error handling when reading configuration file.

19 years ago- Make SD re-open a device with the right permissions if
Kern Sibbald [Tue, 26 Apr 2005 19:46:01 +0000 (19:46 +0000)]
- Make SD re-open a device with the right permissions if
  it was previously opened with something different.  This
  should allow reading read-only Volumes under all circumstances.
- Implement restore of a single directory.

19 years agoAdd new dir
Kern Sibbald [Tue, 26 Apr 2005 19:29:24 +0000 (19:29 +0000)]
Add new dir

19 years agoFixes wx-console compile error with unicode-enabled wxWidgets.
Nicolas Boichat [Tue, 26 Apr 2005 17:30:49 +0000 (17:30 +0000)]
Fixes wx-console compile error with unicode-enabled wxWidgets.

19 years agoUpdate kernstodo + add newline in message
Kern Sibbald [Tue, 26 Apr 2005 15:22:48 +0000 (15:22 +0000)]
Update kernstodo + add newline in message

19 years ago- Implement restore of a single directory.
Kern Sibbald [Tue, 26 Apr 2005 15:04:27 +0000 (15:04 +0000)]
- Implement restore of a single directory.
- Apply Tru64 patch supplied by Pascal Pederiva freebsd@paped.com
- Apply Unicode fixes for Win32 from Thorsten Engel
  thorsten.engel@matrix-computer.com

19 years agoUpdate projects
Kern Sibbald [Tue, 26 Apr 2005 09:10:13 +0000 (09:10 +0000)]
Update projects

19 years agoFix bug #292 (tray-monitor).
Nicolas Boichat [Mon, 25 Apr 2005 15:10:29 +0000 (15:10 +0000)]
Fix bug #292 (tray-monitor).

19 years agoFixes to make wx-console compatible with wxWidgets 2.6.0.
Nicolas Boichat [Sun, 24 Apr 2005 22:12:49 +0000 (22:12 +0000)]
Fixes to make wx-console compatible with wxWidgets 2.6.0.

19 years agoMove patches into subdir
Kern Sibbald [Sat, 23 Apr 2005 11:26:23 +0000 (11:26 +0000)]
Move patches into subdir

19 years agoFix (hopefully) the ftello() overflow reported by Peter.
Kern Sibbald [Fri, 22 Apr 2005 13:08:25 +0000 (13:08 +0000)]
Fix (hopefully) the ftello() overflow reported by Peter.

19 years ago- Landon Fuller committed his TLS patch.
Kern Sibbald [Fri, 22 Apr 2005 10:12:46 +0000 (10:12 +0000)]
- Landon Fuller committed his TLS patch.
- Fixed two minor warnings in console.c with TLS turned off.
- Updated the Makefile.in for wx-windows and tray-monitor
  to handle TLS. I can only build the tray-monitor.
- Fix bscan to open tape in read-only mode (actually fix
  it so that it doesn't use the standard open routine).

19 years ago- Integrated TLS network encryption
Landon Fuller [Fri, 22 Apr 2005 08:09:38 +0000 (08:09 +0000)]
- Integrated TLS network encryption

19 years agoGet FD Python running -- design Python backup interface.
Kern Sibbald [Thu, 21 Apr 2005 17:20:38 +0000 (17:20 +0000)]
Get FD Python running -- design Python backup interface.

19 years ago- Fix seg fault in SD when referencing Alert Command.
Kern Sibbald [Thu, 21 Apr 2005 09:25:25 +0000 (09:25 +0000)]
- Fix seg fault in SD when referencing Alert Command.
- More documentation.
- Fix one more thing in Win32 build.

19 years agoDoc updates + fix Win32 build
Kern Sibbald [Wed, 20 Apr 2005 16:16:52 +0000 (16:16 +0000)]
Doc updates + fix Win32 build

19 years agoAdd more contributed examples
Kern Sibbald [Tue, 19 Apr 2005 22:00:54 +0000 (22:00 +0000)]
Add more contributed examples

19 years agoInclude requisite headers for statfs() on Darwin. Fixes the build on Darwin 8 with...
Landon Fuller [Tue, 19 Apr 2005 21:09:59 +0000 (21:09 +0000)]
Include requisite headers for statfs() on Darwin. Fixes the build on Darwin 8 with gcc 4.

19 years agoFix SQLite and PostgreSQL table creation script syntax
Kern Sibbald [Tue, 19 Apr 2005 19:17:43 +0000 (19:17 +0000)]
Fix SQLite and PostgreSQL table creation script syntax
  problems.

19 years ago- Fix new Python code to work for Director.
Kern Sibbald [Tue, 19 Apr 2005 16:49:55 +0000 (16:49 +0000)]
- Fix new Python code to work for Director.
- Move lib/python.c to lib/pythonlib.c so that debug output
  is easier to read (can distinguish lib from dird, ...).

19 years agoCleanup Python build so that Python is not dragged
Kern Sibbald [Tue, 19 Apr 2005 09:49:20 +0000 (09:49 +0000)]
Cleanup Python build so that Python is not dragged
  into programs that don't use it.

19 years agoMake Bacula build without Python
Kern Sibbald [Mon, 18 Apr 2005 11:52:34 +0000 (11:52 +0000)]
Make Bacula build without Python

19 years agoDrop Status table in drop_ scripts -- bug 283.
Kern Sibbald [Mon, 18 Apr 2005 08:06:51 +0000 (08:06 +0000)]
Drop Status table in drop_ scripts -- bug 283.

19 years ago- First cut of new Python implementation.
Kern Sibbald [Sun, 17 Apr 2005 21:35:16 +0000 (21:35 +0000)]
- First cut of new Python implementation.
- Doc updates
- Correct SuSE autostart installation directory name --
  supplied by a user.
- Fix director crash if Name directive not supplied
  in a Job.
- More cleanup of changing %u to %s for DB IDs.
- Replace dev_can_write(dev) with dev->can_write().

19 years ago1.36.3 doc changes.
Scott Barninger [Sun, 17 Apr 2005 18:54:05 +0000 (18:54 +0000)]
1.36.3 doc changes.

19 years ago1.36.3 doc changes.
Scott Barninger [Sun, 17 Apr 2005 16:10:16 +0000 (16:10 +0000)]
1.36.3 doc changes.

19 years ago Make fsr_dev() a method dev->fsr()
Kern Sibbald [Mon, 11 Apr 2005 13:22:08 +0000 (13:22 +0000)]
 Make fsr_dev() a method dev->fsr()

19 years agoUpdate tests for new doc structure
Kern Sibbald [Mon, 11 Apr 2005 13:16:42 +0000 (13:16 +0000)]
Update tests for new doc structure

19 years agoFinish removing rescue
Kern Sibbald [Mon, 11 Apr 2005 09:34:48 +0000 (09:34 +0000)]
Finish removing rescue

19 years ago- Remove Created new FileSet message as it always comes out in
Kern Sibbald [Mon, 11 Apr 2005 08:30:05 +0000 (08:30 +0000)]
- Remove Created new FileSet message as it always comes out in
  the daemon messages.
- eliminate dev_is_tape() in favor of method dev->is_tape()
- Turn on disk seeking during restore for Disk Volumes. This
  required some changes to bscan -- they seem a bit suspect as
  they are not symmetrical for tape/files.
- Remove some of the recursion in stored/parse_bsr.c
- Move rescue out to a new Bacula project.

19 years agoCleanup
Kern Sibbald [Mon, 11 Apr 2005 08:07:07 +0000 (08:07 +0000)]
Cleanup

19 years agoRemove unwanted directory
Kern Sibbald [Mon, 11 Apr 2005 08:01:37 +0000 (08:01 +0000)]
Remove unwanted directory

19 years agoInitial revision
Kern Sibbald [Mon, 11 Apr 2005 07:57:12 +0000 (07:57 +0000)]
Initial revision

19 years agoUpdate FD and SD Python calling sequence
Kern Sibbald [Sat, 9 Apr 2005 17:13:12 +0000 (17:13 +0000)]
Update FD and SD Python calling sequence

19 years ago- Update of web site to replace old released doc with LaTeX
Kern Sibbald [Sat, 9 Apr 2005 07:20:59 +0000 (07:20 +0000)]
- Update of web site to replace old released doc with LaTeX
  version.
- Replace logo in doc with new bat logo.
- Make a good number of updates to the manual.
- Implement Python scripting using a Python object.
  This makes interfacing with Bacula cleaner (object
  oriented).
- Add Phil's Status table to the database -- used
  for getting a text description of the status
  codes.
- Modify FileSet so that an empty Options (no
  pattern matching) with an exclude will exclude
  all files.
- Modify FileSet so that no top level included File
  item can be excluded by a matching pattern.
- Suppress Created new FileSet record in daemon output.
- Implement Python in FD.
- Turn off old bfile reader code -- to be replaced
  by Python.

19 years ago - Fix "unknown device type" problem with DVD devices.
Nicolas Boichat [Thu, 7 Apr 2005 13:09:24 +0000 (13:09 +0000)]
 - Fix "unknown device type" problem with DVD devices.
 - Fix crash when there is no media in the DVD drive.

19 years agoAdd wx-console bug fixes to patches directory.
Nicolas Boichat [Wed, 6 Apr 2005 14:47:02 +0000 (14:47 +0000)]
Add wx-console bug fixes to patches directory.

19 years agoAdd centos4 and x86_64 build tags.
Scott Barninger [Tue, 5 Apr 2005 20:56:02 +0000 (20:56 +0000)]
Add centos4 and x86_64 build tags.

19 years agoRemove more recursion in src/dird/bsr.c as pointed out
Kern Sibbald [Tue, 5 Apr 2005 14:57:14 +0000 (14:57 +0000)]
Remove more recursion in src/dird/bsr.c as pointed out
  by Peter.

19 years ago- Increase the index width of Filename and Path entries
Kern Sibbald [Mon, 4 Apr 2005 18:37:37 +0000 (18:37 +0000)]
- Increase the index width of Filename and Path entries
  to 255 chars -- suggestion of Meno Abels.
- Change remaining VARCHARS to TINYBLOBs.
- Remove recursion from is_volume_selected() following
  bug report from Peter.
- Implement mostly correct handling of use_storage in the
  SD with full lists, ...

19 years agoAdd rhel4 build tag.
Scott Barninger [Sun, 3 Apr 2005 17:14:36 +0000 (17:14 +0000)]
Add rhel4 build tag.

19 years agoFix DIR - SD use storage protocol
Kern Sibbald [Sat, 2 Apr 2005 10:30:29 +0000 (10:30 +0000)]
Fix DIR - SD use storage protocol

19 years ago- Reset NumVols in Pool record from database on every update
Kern Sibbald [Sat, 2 Apr 2005 09:22:59 +0000 (09:22 +0000)]
- Reset NumVols in Pool record from database on every update
  Pool.
- Modify DB to support multiple simultaneous copies and
  RAIT stiping.
- Pass copy and stripe between DIR and SD and put into
  the JobMedia DB record.
- Update and test SQLite and MySQL datebase creation and
  update scripts.
- Implement version 9 of the DB.

19 years ago- Convert more atoi to str_to_int64() for DB.
Kern Sibbald [Fri, 1 Apr 2005 15:21:46 +0000 (15:21 +0000)]
- Convert more atoi to str_to_int64() for DB.
- Implement filling in NumVols by querying DB rather
  than trying to keep track of it.
- Add storage name to string passed to in use storage=
- Fix newVolume() so that the Python script is always
  called.
- Fix handling of pool,PoolId, and storage in ua_output.
- Same fix in ua_status.c
- Remove required locking of resources
- Replace pthread_cond_signal() by pthread_cond_broadcast()
  hoping to fix the /lib/tls hang problems (lost signal).
- Move resource locking seaching from parse_conf.c to res.c
  in src/lib.
- Modify end of volume handling so that fixup_... does not
  redo what block.c has already done -- writing Vol info to
  DIR. This fixes a bug with bad numbers of files on a tape
  when it filled as reported by Peter.
- In release_device() do not update the DIR on the Volume
  info if the the information was already written at the
  end of the tape.

19 years agoAdd tray-monitor patch in patches directory.
Nicolas Boichat [Thu, 31 Mar 2005 21:21:42 +0000 (21:21 +0000)]
Add tray-monitor patch in patches directory.

19 years ago- This version has a new DIR -- SD protocol. Both
Kern Sibbald [Mon, 28 Mar 2005 22:06:08 +0000 (22:06 +0000)]
- This version has a new DIR -- SD protocol. Both
  must be updated at the same time.
- Begin implementation of passing all the Storage and Device
  possibilities to the SD for examination during the reserve
  phase.
- Modify the reserve and acquire code in the SD to make a
  job wait if the device is not available.
- Implement New Volume Each Job in DIR and pass to SD, not yet
  used.
- Remove init/update of the Device resource in DIR
- Remove passing PoolId to SD and back.

19 years agoFix memory leak in tray monitor.
Nicolas Boichat [Mon, 28 Mar 2005 13:33:27 +0000 (13:33 +0000)]
Fix memory leak in tray monitor.

19 years ago- Remove \a and -e from error echos in most Makefiles.
Kern Sibbald [Sat, 26 Mar 2005 16:55:46 +0000 (16:55 +0000)]
- Remove \a and -e from error echos in most Makefiles.
- Add more debug code when there are errors on the tape
  to try to find Peter's tape problem.

19 years ago- Add wait.c (oops forgot previously).
Kern Sibbald [Sat, 26 Mar 2005 14:53:13 +0000 (14:53 +0000)]
- Add wait.c (oops forgot previously).
- Move all the reserve/acquire_device_for_read/append to have
  only a DCR as the argument.
- Rework the reserve_device_for_append() in stored to wait
  if the drive is not available.  Note! This is a short
  term solution.

19 years ago- Comment out Multiple Connections in the document.
Kern Sibbald [Sat, 26 Mar 2005 07:58:50 +0000 (07:58 +0000)]
- Comment out Multiple Connections in the document.
- Move the P() and V() to subroutines so that they can be accessed
  from class methods. The reference to strerror() caused problems.
- Implement new DEVICE class methods block() and unblock() that
  do what was previously done in 3 lines of code.
- Implement wait_for_device(), which will wait for any device
  to be released then return. This requires a new global mutex
  and condition variable, and is implemented in src/stored/wait.c
- Change the code in reserve_device_for_read(), which previously
  failed the job to use the new device wait code.