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.
Kern Sibbald [Sun, 28 Aug 2005 12:22:02 +0000 (12:22 +0000)]
- Correct ssize_t problem in build of Win32
- Add code to llprint pools and volumes to debug next item.
- From bug report, fix resetting Pool defaults in Volume. It
was a typo Max was missing in several places.
- Don't allow translation of database Volume Status values.
Nicolas Boichat [Sat, 27 Aug 2005 14:33:39 +0000 (14:33 +0000)]
Add compatibility with Microsoft Visual C++ 2005 Express Edition Beta 2 (a complete VC++ IDE available for free).
It should not break MSVC++ 2003 compatibility.
(src/win32/README.vc8 will be completed later)
Kern Sibbald [Thu, 18 Aug 2005 09:31:28 +0000 (09:31 +0000)]
- Implement search for exact Volume in reservation before
other searches.
- Fix picking up drive in Dir so that it is not done in
the status command.
- Eliminate double check on loaded for autochanger.
Kern Sibbald [Wed, 17 Aug 2005 13:48:38 +0000 (13:48 +0000)]
- Create unload_autochanger() subroutine, and unload
any drive that changes pool during reservation.
- Improve the logic of the reservation.
- Add more debug code for autochangers.
- Apply fix from Stephan Leemburg <sleemburg@jvc.nl> for
improper scanning of schedule resource:
Run = Level=Full Pool=Catalog daily at 1:20
Kern Sibbald [Tue, 16 Aug 2005 20:51:16 +0000 (20:51 +0000)]
- Fix bug that missed drive=nn specification.
- Eliminate nonblocking kludge in heartbeat of FD as
it caused high CPU usage.
- Pickup loaded slot when doing open() of tape drive.
- Make autochanger reservation code go through full list
first pass until exact match found.
Nicolas Boichat [Mon, 8 Aug 2005 16:27:54 +0000 (16:27 +0000)]
- Create French and Italian translation files (fr.po, it.po).
- Add support for translation in configure and Makefiles.
- Update autoconf/aclocal.m4 so it is automatically created with aclocal
(Note: autoconf/gnome-macros is not used anymore, it may be removed).
Kern Sibbald [Thu, 4 Aug 2005 08:49:00 +0000 (08:49 +0000)]
- Make reservation system single threaded during the
search to avoid two threads competing for the same
resource.
- Correct a return code in find_suitable_device_for_job()
Possibly cause of busy writing to another volume.
Kern Sibbald [Wed, 3 Aug 2005 19:01:43 +0000 (19:01 +0000)]
- Modify open() for tape so nonblocking really works.
- Use fcntl() to reset blocking status rather than close()
and reopen the drive.
- Make sure dev->open() is always called so that any change
in read/write permissions will occur.
- Open drives initially in daemon in read-only mode.
- Ensure that each time the VolHdr.VolumeName is zapped
or changed that free_volume() is called on the old name.
Kern Sibbald [Wed, 3 Aug 2005 11:35:29 +0000 (11:35 +0000)]
- Require 5 arguments to mtx-changer except list and slots
- Turn -EPIPE status returns from bpipe to ETIME
- Include Slot in SD status output
- Do not term_dev() during initialization in SD if the device
could not be opened. In the case of a tape drive, there may
be no tape in the drive.
Kern Sibbald [Tue, 2 Aug 2005 16:09:51 +0000 (16:09 +0000)]
02Aug05
- Correct PostgreSQL database scripts as suggested by a user.
- Add additional info to FATAL message generated when a device
is busy writing to another volume.
- Suppress an inappropriate NULL Volume name message after a cancel.
- Correct a warning message in reserve.c