1.\" $NetBSD: ct.4,v 1.9 2003/08/07 10:31:05 agc Exp $ 2.\" 3.\" Copyright (c) 1990, 1991, 1993 4.\" The Regents of the University of California. All rights reserved. 5.\" 6.\" This code is derived from software contributed to Berkeley by 7.\" the Systems Programming Group of the University of Utah Computer 8.\" Science Department. 9.\" 10.\" Redistribution and use in source and binary forms, with or without 11.\" modification, are permitted provided that the following conditions 12.\" are met: 13.\" 1. Redistributions of source code must retain the above copyright 14.\" notice, this list of conditions and the following disclaimer. 15.\" 2. Redistributions in binary form must reproduce the above copyright 16.\" notice, this list of conditions and the following disclaimer in the 17.\" documentation and/or other materials provided with the distribution. 18.\" 3. 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: @(#)ct.4 8.1 (Berkeley) 6/9/93 35.\" 36.Dd June 9, 1993 37.Dt CT 4 hp300 38.Os 39.Sh NAME 40.Nm ct 41.Nd 42.Tn CS/80 43cartridge tape interface 44.Sh SYNOPSIS 45.Cd "ct0 at hpibbus? slave ?" 46.Sh DESCRIPTION 47The cartridge tape interface as found in the 7946 and 9144 products 48provides a standard tape drive interface as described in 49.Xr mtio 4 50with the following exceptions: 51.Bl -enum 52.It 53There is only one density. 54.It 55Only the 56.Dq raw 57interface is supported. 58.It 59The 60.Dv MTIOCTOP 61.Xr ioctl 2 62is limited. 63In particular, the command, 64.Dv MTFSR 65is not supported. 66.It 67The 68.Dv MTIOCGET 69.Xr ioctl 2 70is not supported. 71.It 72The record size for read and write operations must be between 731K and 64K inclusive. 74.El 75.Pp 76Special files 77.Pa rct0 78through 79.Pa rct3 80refer to rewind on close interfaces to drives 0 to 3. 81Files 82.Pa rct4 83through 84.Pa rct7 85refer to no-rewind interfaces. 86Files 87.Pa rct8 88through 89.Pa rct11 90refer to streaming rewind on close interfaces. (Only 9144 type devices 91can stream.) 92Lastly, 93.Pa rct12 94through 95.Pa rct15 96refer to streaming no-rewind interfaces. 97.Sh SEE ALSO 98.Xr mt 1 , 99.Xr tar 1 , 100.Xr mtio 4 101.Sh BUGS 102Read and writes of less than 1024 bytes will not behave as expected. 103