xref: /netbsd-src/share/man/man4/man4.hp300/ct.4 (revision 9fbd88883c38d0c0fbfcbe66d76fe6b0fab3f9de)
1.\"	$NetBSD: ct.4,v 1.7 2001/04/11 19:07:33 wiz 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. All advertising materials mentioning features or use of this software
19.\"    must display the following acknowledgement:
20.\"	This product includes software developed by the University of
21.\"	California, Berkeley and its contributors.
22.\" 4. Neither the name of the University nor the names of its contributors
23.\"    may be used to endorse or promote products derived from this software
24.\"    without specific prior written permission.
25.\"
26.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
27.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
29.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
30.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
31.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36.\" SUCH DAMAGE.
37.\"
38.\"     from: @(#)ct.4	8.1 (Berkeley) 6/9/93
39.\"
40.Dd June 9, 1993
41.Dt CT 4 hp300
42.Os
43.Sh NAME
44.Nm ct
45.Nd
46.Tn CS/80
47cartridge tape interface
48.Sh SYNOPSIS
49.Cd "ct0 at hpib? slave ?"
50.Sh DESCRIPTION
51The cartridge tape interface as found in the 7946 and 9144 products
52provides a standard tape drive interface as described in
53.Xr mtio 4
54with the following exceptions:
55.Bl -enum
56.It
57There is only one density.
58.It
59Only the
60.Dq raw
61interface is supported.
62.It
63The
64.Dv MTIOCTOP
65.Xr ioctl 2
66is limited.
67In particular, the command,
68.Dv MTFSR
69is not supported.
70.It
71The
72.Dv MTIOCGET
73.Xr ioctl 2
74is not supported.
75.It
76The record size for read and write operations must be between
771K and 64K inclusive.
78.El
79.Pp
80Special files
81.Pa rct0
82through
83.Pa rct3
84refer to rewind on close interfaces to drives 0 to 3.
85Files
86.Pa rct4
87through
88.Pa rct7
89refer to no-rewind interfaces.
90Files
91.Pa rct8
92through
93.Pa rct11
94refer to streaming rewind on close interfaces. (Only 9144 type devices
95can stream.)
96Lastly,
97.Pa rct12
98through
99.Pa rct15
100refer to streaming no-rewind interfaces.
101.Sh SEE ALSO
102.Xr mt 1 ,
103.Xr tar 1 ,
104.Xr mtio 4
105.Sh BUGS
106Read and writes of less than 1024 bytes will not behave as expected.
107