Subject: bin/4212: mt(1) manpage claims default tape device is /dev/rst0
To: None <gnats-bugs@gnats.netbsd.org>
From: Dave Huang <khym@bga.com>
List: netbsd-bugs
Date: 10/03/1997 16:53:07
>Number:         4212
>Category:       bin
>Synopsis:       mt(1) manpage claims default tape device is /dev/rst0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct  3 15:05:02 1997
>Last-Modified:
>Originator:     Dave Huang
>Organization:
Name: Dave Huang     |   Mammal, mammal / their names are called /
INet: khym@bga.com   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 21 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
>Release:        NetBSD-current as of October 3, 1997
>Environment:
	
System: NetBSD dahan.metonymy.com 1.2G NetBSD 1.2G (SPIFF) #135: Tue Sep 30 23:32:15 CDT 1997 khym@dahan.metonymy.com:/usr/src.local/sys/arch/i386/compile/SPIFF i386


>Description:
The mt manpage says:

     If a tape name is not specified, and the environment variable TAPE is not
     set, then mt uses the device /dev/rst0.

In fact, it uses /dev/nrst0.

>How-To-Repeat:
man mt
grep _PATH_DEFTAPE /usr/include/paths.h

>Fix:
--- /usr/src/bin/mt/mt.1	Fri Oct  3 06:07:23 1997
+++ mt.1	Fri Oct  3 16:51:41 1997
@@ -144,7 +144,7 @@
 is not set, then
 .Nm mt
 uses the device
-.Pa /dev/rst0 .
+.Pa /dev/nrst0 .
 .Pp
 .Nm Mt
 returns a 0 exit status when the operation(s) were successful,

>Audit-Trail:
>Unformatted: