summaryrefslogtreecommitdiff
path: root/static/netbsd/man4/ch.4
blob: 65a11749e45921e5b07c9844615c5c7d80829c27 (plain)
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
.\"	$NetBSD: ch.4,v 1.3 2001/09/12 18:19:16 wiz Exp $
.\"
.Dd June 10, 1998
.Dt CH 4
.Os
.Sh NAME
.Nm ch
.Nd SCSI media changer driver
.Sh SYNOPSIS
.Cd "ch* at scsibus? target ? lun ?"
.Sh DESCRIPTION
The
.Nm
driver is essentially an
.Xr ioctl 2
interface to a robot on a
.Tn SCSI
bus - a device that will change media (e.g. tapes, CD-ROMs, etc)
in and out of drives for that media.
The
.Xr chio 1
utility program uses this interface to manipulate such robots.
.Sh FILES
.Bl -tag -width /dev/rsdXXXXX -compact
.It Pa /dev/ch Ns Ar u
.Tn SCSI
bus media changer unit
.Ar u
.El
.Pa /usr/include/sys/chio.h
.Sh DIAGNOSTICS
.Bl -diag
.It "ch%d: waiting %d seconds for changer to settle..."
Some changers require a long time to settle out,
to do tape inventory, for instance.
.It "ch%d: offline"
The changer is not responding.
.It "ch%d: warning, READ ELEMENT STATUS avail != count"
.It "ch%d: could not sense element address page"
.It "ch%d: could not sense capabilities page"
.El
.Sh SEE ALSO
.Xr chio 1 ,
.Xr ioctl 2 ,
.Xr cd 4 ,
.Xr intro 4 ,
.Xr scsi 4 ,
.Xr st 4
.Sh AUTHORS
.An Jason R. Thorpe