From: Kern Sibbald Date: Thu, 20 Mar 2008 08:33:20 +0000 (+0000) Subject: Fix mtx-changer.in for broken Debian mt program. X-Git-Tag: Release-7.0.0~4811 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a009ed60a2d11cf775c514da1dd351d75ae16364;p=bacula%2Fbacula 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 --- 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