1.\" $NetBSD: mt.4,v 1.10 2003/08/07 10:31:13 agc 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 June 5, 1993 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.Pp 63.It mu%d: not online. 64An attempt was made to access the tape while it 65was offline; this message is written on the terminal of the user 66who tried to access the tape. 67.Pp 68.It "mu%d: can't change density in mid-tape." 69An attempt was made to write 70on a tape at a different density than is already recorded on the tape. 71This message is written on the terminal of the user who tried to switch 72the density. 73.Pp 74.It "mu%d: hard error bn%d mbsr=%b er=%x ds=%b." 75A tape error occurred 76at block 77.Em bn ; 78the mt error register and drive status register are 79printed in octal with the bits symbolically decoded. Any error is 80fatal on non-raw tape; when possible the driver will have retried 81the operation which failed several times before reporting the error. 82.Pp 83.It mu%d: blank tape. 84An attempt was made to read a blank tape (a tape without even 85end-of-file marks). 86.Pp 87.It mu%d: offline. 88During an i/o operation the device was set offline. If a 89non-raw tape was used in the access it is closed. 90.El 91.Sh SEE ALSO 92.Xr mt 1 , 93.Xr tar 1 , 94.Xr mtio 4 , 95.Xr tm 4 , 96.Xr ts 4 , 97.Xr ut 4 98.Sh HISTORY 99The 100.Nm 101driver appeared in 102.Bx 4.1 . 103.Sh BUGS 104If a physical error (non-data) occurs, 105.Nm 106may hang ungracefully. 107.Pp 108Because 800 109.Tn BPI 110tapes are not supported, the numbering of minor devices 111is inconsistent with triple-density tape units. 112Unit 0 is drive 0, 1600 113.Tn BPI . 114