From a009ed60a2d11cf775c514da1dd351d75ae16364 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Thu, 20 Mar 2008 08:33:20 +0000 Subject: [PATCH] Fix mtx-changer.in for broken Debian mt program. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6643 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/scripts/mtx-changer.in | 14 ++++++++++---- bacula/technotes-2.3 | 22 ++++++++++++++++++++++ 2 files changed, 32 insertions(+), 4 deletions(-) diff --git a/bacula/scripts/mtx-changer.in b/bacula/scripts/mtx-changer.in index 60630a5531..67a7d5daaf 100644 --- a/bacula/scripts/mtx-changer.in +++ b/bacula/scripts/mtx-changer.in @@ -52,19 +52,25 @@ MTX=@MTX@ # SunOS No Additional Sense # FreeBSD Current Driver State: at rest. # Linux ONLINE +# Note Debian has messed up their mt. When no tape is in the +# drive it waits 2 minutes. When a tape is in the drive, it +# prints user unfriendly output. +# OS=`uname` case ${OS} in SunOS) ready="No Additional Sense" - # Sun sed/awk etc are not sufficient, working versions are in /usr/xpg4/bin - export PATH="/usr/local/sbin:/usr/local/bin:/usr/sfw/bin:/usr/xpg4/bin:/usr/bin" ;; FreeBSD) ready="Current Driver State: at rest." ;; - *) - ready="ONLINE" + Linux) + if test -e /etc/debian_version ; then + ready="drive status" + else + ready="ONLINE" + fi ;; esac diff --git a/bacula/technotes-2.3 b/bacula/technotes-2.3 index 19140e3a15..2500be4d73 100644 --- a/bacula/technotes-2.3 +++ b/bacula/technotes-2.3 @@ -1,6 +1,28 @@ Technical notes on version 2.3 +New features (buried): +TLS authentication +bextract Win32 data +Run afterVSS +Multiple command/console per runscript +console command +Bat API +Plugin API +State file updated on job term +PluginOptions +FD Version +Duplicate Job directives +MaxFullInterval +MaxDiffInterval +Honor nodump flag +Improved status commands for Bat +Spooling/despooling status +Implement ftruncate for NFS devices + + General: +20Mar08 +kes Fix mtx-changer.in for broken Debian mt program. 19Mar08 kes Fix large number of JobMedia records reported by Eric Bollengier. 18Mar08 -- 2.39.5