NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/41928: mt(1) manual states count for erase command is ignored - this is not true for st(4)



>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:
        
        


Home | Main Index | Thread Index | Old Index