xref: /netbsd/share/man/man4/man4.vax/mt.4 (revision bf9ec67e)
1.\"	$NetBSD: mt.4,v 1.8 2002/01/15 02:09:19 wiz Exp $
2.\"
3.\" Copyright (c) 1980, 1991, 1993
4.\"	The Regents of the University of California.  All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\" 3. All advertising materials mentioning features or use of this software
15.\"    must display the following acknowledgement:
16.\"	This product includes software developed by the University of
17.\"	California, Berkeley and its contributors.
18.\" 4. Neither the name of the University nor the names of its contributors
19.\"    may be used to endorse or promote products derived from this software
20.\"    without specific prior written permission.
21.\"
22.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
23.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
26.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32.\" SUCH DAMAGE.
33.\"
34.\"     from: @(#)mt.4	8.1 (Berkeley) 6/5/93
35.\"
36.Dd June 5, 1993
37.Dt MT 4 vax
38.Os
39.Sh NAME
40.Nm mt
41.Nd
42.Tn TM78 Ns / Tn TU-78
43.Tn MASSBUS
44mag tape interface
45.Sh SYNOPSIS
46.Cd "mt0 at mba? drive ? tape mu0 at mt0 slave 0"
47.Sh DESCRIPTION
48The
49.Tn TM78 Ns / Tn TU-78
50combination provides a standard tape drive
51interface as described in
52.Xr mtio 4 .
53Only 1600 and 6250
54.Tn BPI
55are supported; the
56.Tn TU-78
57runs at 125
58.Tn IPS
59and autoloads tapes.
60.Sh DIAGNOSTICS
61.Bl -diag
62.It mu%d: no write ring.
63An attempt was made to write on the tape drive
64when no write ring was present; this message is written on the terminal of
65the user who tried to access the tape.
66.Pp
67.It mu%d: not online.
68An attempt was made to access the tape while it
69was offline; this message is written on the terminal of the user
70who tried to access the tape.
71.Pp
72.It "mu%d: can't change density in mid-tape."
73An attempt was made to write
74on a tape at a different density than is already recorded on the tape.
75This message is written on the terminal of the user who tried to switch
76the density.
77.Pp
78.It "mu%d: hard error bn%d mbsr=%b er=%x ds=%b."
79A tape error occurred
80at block
81.Em bn ;
82the mt error register and drive status register are
83printed in octal with the bits symbolically decoded.  Any error is
84fatal on non-raw tape; when possible the driver will have retried
85the operation which failed several times before reporting the error.
86.Pp
87.It mu%d: blank tape.
88An attempt was made to read a blank tape (a tape without even
89end-of-file marks).
90.Pp
91.It mu%d: offline.
92During an i/o operation the device was set offline.  If a
93non-raw tape was used in the access it is closed.
94.El
95.Sh SEE ALSO
96.Xr mt 1 ,
97.Xr tar 1 ,
98.Xr mtio 4 ,
99.Xr tm 4 ,
100.Xr ts 4 ,
101.Xr ut 4
102.Sh HISTORY
103The
104.Nm
105driver appeared in
106.Bx 4.1 .
107.Sh BUGS
108If a physical error (non-data) occurs,
109.Nm
110may hang ungracefully.
111.Pp
112Because 800
113.Tn BPI
114tapes are not supported, the numbering of minor devices
115is inconsistent with triple-density tape units.
116Unit 0 is drive 0, 1600
117.Tn BPI .
118