1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
|
.\" $OpenBSD: ct.4,v 1.10 2004/08/03 21:46:49 miod Exp $
.\
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
.\" This code is derived from software contributed to Berkeley by
.\" the Systems Programming Group of the University of Utah Computer
.\" Science Department.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 3. Neither the name of the University nor the names of its contributors
.\" may be used to endorse or promote products derived from this software
.\" without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" from: @(#)ct.4 8.1 (Berkeley) 6/9/93
.\"
.Dd June 9, 1993
.Dt CT 4 hp300
.Os
.Sh NAME
.Nm \&ct
.Nd
.Tn CS/80
cartridge tape interface
.Sh SYNOPSIS
.Cd "ct* at hpibbus? slave ? punit ?"
.Sh DESCRIPTION
The cartridge tape interface as found in the 7912, 7914, 7946, 9144, 9145,
and 88140 products provides a standard tape drive interface as described in
.Xr mtio 4
with the following exceptions:
.Bl -enum
.It
There is only one density.
.It
Only the
.Dq raw
interface is supported.
.It
The
.Dv MTIOCTOP
.Xr ioctl 2
is limited.
In particular, the command,
.Dv MTFSR
is not supported.
.It
The
.Dv MTIOCGET
.Xr ioctl 2
is not supported.
.It
The record size for read and write operations must be between
1K and 64K inclusive.
.El
.Pp
Special files
.Pa rct0
through
.Pa rct3
refer to rewind on close interfaces to drives 0 to 3.
Files
.Pa rct4
through
.Pa rct7
refer to no-rewind interfaces.
Files
.Pa rct8
through
.Pa rct11
refer to streaming rewind on close interfaces.
(Only 9144 type devices can stream.)
Lastly,
.Pa rct12
through
.Pa rct15
refer to streaming no-rewind interfaces.
.Sh SEE ALSO
.Xr mt 1 ,
.Xr cd 4 ,
.Xr ch 4 ,
.Xr hd 4 ,
.Xr hpibbus 4 ,
.Xr intro 4 ,
.Xr mtio 4 ,
.Xr sd 4 ,
.Xr ss 4 ,
.Xr st 4 ,
.Xr uk 4
.Sh BUGS
Read and writes of less than 1024 bytes will not behave as expected.
The 9145 device is currently treated as a 9144.
|