NetBSD Problem Report #41928
From Wolfgang.Stukenbrock@nagler-company.com Mon Aug 24 10:05:01 2009
Return-Path: <Wolfgang.Stukenbrock@nagler-company.com>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 89BD963BDF9
for <gnats-bugs@gnats.NetBSD.org>; Mon, 24 Aug 2009 10:05:01 +0000 (UTC)
Message-Id: <20090824100457.7187B4EA9FE@s012.nagler-company.com>
Date: Mon, 24 Aug 2009 12:04:57 +0200 (CEST)
From: Wolfgang.Stukenbrock@nagler-company.com
Reply-To: Wolfgang.Stukenbrock@nagler-company.com
To: gnats-bugs@gnats.NetBSD.org
Subject: mt(1) manual states count for erase command is ignored - this is not true for st(4)
X-Send-Pr-Version: 3.95
>Number: 41928
>Category: bin
>Synopsis: mt(1) manual states count for erase command is ignored - this is not true for st(4)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Mon Aug 24 10:10:05 +0000 2009
>Originator: Dr. Wolfgang Stukenbrock
>Release: NetBSD 4.0
>Organization:
Dr. Nagler & Company GmbH
>Environment:
System: NetBSD s012 4.0 NetBSD 4.0 (NSW-S012) #9: Fri Mar 13 12:31:52 CET 2009 wgstuken@s012:/usr/src/sys/arch/amd64/compile/NSW-S012 amd64
Architecture: x86_64
Machine: amd64
>Description:
The manual for mt(1) command say, that the count field is
ignored for the erase command.
This is not true for the st(4) driver.
If count is not 0, then long erase mode is selected, short for 0.
>How-To-Repeat:
Have a look int /usr/src/sys/dev/scsipi/st.c in function st_erase.
You will see that the count value selects the LONG-erase-mode if not 0.
>Fix:
Correct the manual for mt(1).
I haven't checked the other tape driver implementation.
So a good choise for the manual would be:
"for st(4) driver count selects short or long erase mode. Not all tapes supports this."
"count is ignored be some other tape drivers (e.g. wt(4))."
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.