Package: mt-st Version: 0.7-2 Severity: important File: /bin/mt-st `mt-st status` returns text like this:
---snippet---------------------------------------- SCSI 2 tape drive: File number=0, block number=0, partition=0. Tape block size 0 bytes. Density code 0x47 (TR-5). Soft error count since last status=0 General status bits on (41010000): BOT ONLINE IM_REP_EN ---end snippet------------------------------------ and the errorlevel is 0 regardless of the actual tape drive status. If you want a shell script to check the status of the tape, it has do do a grep on the output, which is errorprone, especially if the author of mt-st would change the returned text in a future version. The use of an errorlevel (e.g. 0 if tape is online, 1 if offline etc.) would solve this. -- System Information Debian Release: 3.0 Architecture: i386 Kernel: Linux hindenburg 2.4.29-rc3 #1 SMP Mon Jan 17 10:48:53 CET 2005 i686 Locale: LANG=C, LC_CTYPE=C Versions of packages mt-st depends on: ii libc6 2.2.5-11.8 GNU C Library: Shared libraries an -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]