Subject: misc/1399: mt(1) man page specifies incorrect default
To: None <gnats-bugs@gnats.netbsd.org>
From: Scott Reynolds <scottr@Plexus.COM>
List: netbsd-bugs
Date: 08/22/1995 11:14:48
>Number:         1399
>Category:       misc
>Synopsis:       mt(1) man page specifies incorrect default
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 22 12:20:01 1995
>Last-Modified:
>Originator:     
>Organization:
>Release:        NetBSD-current 18-Aug-95
>Environment:
	i386, not that it matters
System: NetBSD aqua 1.0A NetBSD 1.0A (TGI) #3: Tue Aug 22 09:11:16 CDT 1995 root@aqua:/b/src/sys/arch/i386/compile/TGI i386


>Description:
	The mt(1) man page references /dev/rmt12 as the default.  While this
	might actually exist on some ports (pmax at least showed a /dev/rmt*
	in its MAKEDEV), the default from <sys/mtio.h> is /dev/rst0.

>How-To-Repeat:
	man mt

>Fix:
*** /usr/src/bin/mt/mt.1.orig	Tue Aug 22 11:09:14 1995
--- /usr/src/bin/mt/mt.1	Tue Aug 22 11:08:27 1995
***************
*** 102,108 ****
  does not exist;
  .Nm mt
  uses the device
! .Pa /dev/rmt12 .
  .Pp
  .Nm Mt
  returns a 0 exit status when the operation(s) were successful,
--- 102,108 ----
  does not exist;
  .Nm mt
  uses the device
! .Pa /dev/rst0 .
  .Pp
  .Nm Mt
  returns a 0 exit status when the operation(s) were successful,
***************
*** 121,128 ****
  is not given.
  .Sh FILES
  .Bl -tag -width /dev/rmt* -compact
  .It Pa /dev/rmt*
! Raw magnetic tape interface
  .El
  .Sh SEE ALSO
  .\".Xr mtio 4 ,
--- 121,132 ----
  is not given.
  .Sh FILES
  .Bl -tag -width /dev/rmt* -compact
+ .It Pa /dev/rst*
+ Raw SCSI tape interface
+ .It Pa /dev/rwt*
+ Raw QIC-02 tape interface
  .It Pa /dev/rmt*
! Generic raw magnetic tape interface
  .El
  .Sh SEE ALSO
  .\".Xr mtio 4 ,
>Audit-Trail:
>Unformatted: