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