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