xref: /openbsd/share/man/man4/ch.4 (revision dda28197)
1.\"	$OpenBSD: ch.4,v 1.12 2011/10/06 20:17:22 sobrado Exp $
2.\"
3.\" Copyright (c) 1996
4.\"	Julian Elischer <julian@freebsd.org>.  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.\"
12.\" 2. Redistributions in binary form must reproduce the above copyright
13.\"    notice, this list of conditions and the following disclaimer in the
14.\"    documentation and/or other materials provided with the distribution.
15.\"
16.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.Dd $Mdocdate: October 6 2011 $
29.Dt CH 4
30.Os
31.Sh NAME
32.Nm ch
33.Nd SCSI media-changer (juke box) driver
34.Sh SYNOPSIS
35.Cd "ch? at scsibus?"
36.Sh DESCRIPTION
37The
38.Nm
39driver provides support for SCSI juke boxes.
40It allows many slots of media to be multiplexed between a number of drives.
41.Pp
42A SCSI adapter and a logical scsibus must also be separately configured
43into the system before a SCSI changer can be configured.
44.Pp
45As the SCSI adapter is probed during boot, the SCSI bus is scanned for devices.
46Any devices found which answer as
47.Qq Changer
48type devices will be
49.Dq attached
50to the
51.Nm
52driver.
53The first device found will be attached as
54.Em ch0
55and the next
56.Em ch1 ,
57etc.
58It is also possible to specify what
59.Nm
60unit a device should come on-line as; refer to
61.Xr scsi 4
62for details on kernel configuration.
63.\" .Sh IOCTLS
64.\" The following
65.\" .Xr ioctl 2
66.\" call applies to the changer.
67.\" It is defined in the header file
68.\" .Aq Pa sys/chio.h .
69.\" .Bl -tag -width DIOCSDINFO
70.\" .It Dv CHIOOP
71.\" This appears to be a
72.\" .Dq do-everything
73.\" call.
74.\" .El
75.Sh FILES
76.Bl -tag -width /dev/ch[0-9] -compact
77.It Pa /dev/ch[0-9]
78device entries
79.El
80.Sh SEE ALSO
81.Xr chio 1 ,
82.Xr cd 4 ,
83.Xr intro 4 ,
84.Xr scsi 4 ,
85.Xr sd 4 ,
86.Xr st 4
87.Sh HISTORY
88The
89.Nm
90driver appeared in 386BSD 0.1.
91