Your message dated Mon, 17 Jul 2006 00:54:17 +0200
with message-id <[EMAIL PROTECTED]>
and subject line mt-st status allways seems to return errorlevel 0
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Hi,
looking at the bug report and its age, I presume the issue is
settled? If you have more suggestions or wishlist items, feel
free to reopen this bug, or create a new one. I'm closing
this report now.
Thanks for reporting!
Jan
signature.asc
Description: Digital signature
--- End Message ---