Kern Sibbald [Thu, 22 Dec 2005 21:37:01 +0000 (21:37 +0000)]
- Simplify code in askdir.c that waits for creating an appendable
volume so that it can handle multiple returns from the wait
code.
- Modify the wait code to permit multiple returns.
- Return a zero when autochanger drives is called and
it is not an autochanger.
- Make rewind_dev() a method taking a DCR as an argument.
This permits closing and reopening the drive if the
rewind fails as happens if the drive was loaded while the
file descriptor was open. This refreshes the file descriptor.
- Remove the ST_OPENED flag and always rely on fd < 0 for knowing
if the device is open or not. This should eliminate
Arnos problem.
- Return error if reserve cannot find at least one suitable device.
- Make wait_for_sysop() return correct state information.
- Fix Win32 state file problem. write was not using compat
code. This should fix bug #500.
Kern Sibbald [Sat, 17 Dec 2005 19:47:58 +0000 (19:47 +0000)]
- Fix seg fault if user labels a drive directory bug #513
- Remove quotes around Version as it breaks things. 16Dec05
- Merge in Aleksandar Milivojevic's mods to the spec file.
- Apply sparse code fix for raw drives and fifos. Bug 506
- Thorsten fixed Unicode cd problem with wx-console bug 505.
Kern Sibbald [Thu, 8 Dec 2005 20:32:17 +0000 (20:32 +0000)]
- Apply patch supplied by user (slightly modified) to fix
correct detection of holes in block devices and FIFOs.
Bug # 506.
- Apply patch supplied by user (slightly modified)
to fix SD hang with multiple pools and bad client
IP. Fixes bug # 508.
Kern Sibbald [Wed, 7 Dec 2005 18:20:58 +0000 (18:20 +0000)]
- Modify most restore error messages to be queued so that they
appear at the end of the job rather than mixted with the restore
listing where they could be lost.
Kern Sibbald [Wed, 7 Dec 2005 10:10:30 +0000 (10:10 +0000)]
- Remove warning message about multiple saves of hardlinked files
from find_one.c as it can generate too many warning messages. 06Dec05
- Reset timeout values before select() per patch from
Frank Sweetser for problems with non-blocking sockets.
- Unlink the state file if either reading or writing it gets
errors. Hopefully this will fix Win32 exit problems.
- Add sanity check in append.c to ensure that dcr is not NULL.
This can happen if multiple drive autochanger SCSI control
channel and drive indicies do not correspond.
Kern Sibbald [Mon, 5 Dec 2005 11:49:34 +0000 (11:49 +0000)]
- Remove argument from create_bacula_database for SQLite as it
caused an error.
- Add back index code so that two drive autochangers can get
a second tape.
- Change a bunch of debug levels to aid debugging autochangers.
- Fix reservation so that mutexes are properly applied.
- Rework reservation algorithm so that two drives can be used
at the same time.
Kern Sibbald [Sat, 3 Dec 2005 15:00:04 +0000 (15:00 +0000)]
03Dec05
- Fix font code in gnome2 console user patch. Fixes bug #501.
- Fix malformatted bnet error message that caused seg fault
fixes bug 502
- Applied user patch to improve README.vc8 in src/win32.
29Nov05
- Add Migrate, Copy, Archive Job types (some where there)
- Correct some more editing of JobId's (for 64 bit compatibility).
- Ensure that StorageId is stored in Media record when ever possible.
- Add Migration Job to Job.
- Add Migration Time, Migration High Bytes, Migration Low Bytes
Next Pool to Pool resource.
- Add more code to mac.c (migration archive copy).
- Change Start Storage daemon job to require read and write storage
pointers.
- Pass read storage data to SD as well as write storage data.
- Remove old code from winservice.cpp
- Break on error in scan.
- Fix typo in signal.c
- Separate read/write DCR in SD. Add jcr->read_dcr.
- Cleanup how find_device() works.
- Add read output to Status in SD.
Kern Sibbald [Sun, 13 Nov 2005 10:24:12 +0000 (10:24 +0000)]
Remove the USE_WIN32STREAMEXTRACTION #defines (always on)
and correct a few minor problems to make it build on Linux.
- Turn off API debug output unless debug set to avoid confusing
the user.
- Add Solaris ACL detection in configure.in as supplied by
Attila Fulop.
Kern Sibbald [Sat, 12 Nov 2005 17:31:19 +0000 (17:31 +0000)]
- Implement autochanger drives protocol so that Dir knows
how many drives an autochanger has.
- Do not request drive number in label, ... if only one drive.
- Turn off debug code.
- Fix update slots to clear slot number of every slot before
setting it. This fixes (I believe) bug #471
- Make unmount unload the autochanger slot.
- Modify open() on mount to be read-only and non-blocking,
otherwise the mount can block for a long time.
- Make a few error message numbers unique.
- Make a few error messages more correct.
- Apply patch from Thorsten to fix Win98 stat() command.