1.\" $OpenBSD: chio.conf.5,v 1.1 2007/11/02 15:26:07 jmc Exp $ 2.\" 3.\" Copyright (c) 2007 Jason McIntyre <jmc@openbsd.org> 4.\" 5.\" Permission to use, copy, modify, and distribute this software for any 6.\" purpose with or without fee is hereby granted, provided that the above 7.\" copyright notice and this permission notice appear in all copies. 8.\" 9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16.\" 17.\" 18.Dd $Mdocdate: November 2 2007 $ 19.Dt CHIO.CONF 5 20.Os 21.Sh NAME 22.Nm chio.conf 23.Nd medium changer configuration file 24.Sh DESCRIPTION 25.Nm 26is used to configure some aspects of 27.Xr chio 1 , 28a medium changer. 29.Pp 30The configuration file consists of a series of stanzas, 31one per changer, 32enclosed in curly braces. 33Empty lines and lines beginning with 34.Sq # 35in either file are ignored. 36.Pp 37The following aspects may be configured: 38.Bl -tag -width Ds 39.It Ic drive 40Provides a non-default mapping between 41.Xr st 4 42devices and changer drives. 43For example, 44to map drive 0 to rst3 and drive 1 to rst2, for changer 45.Pa /dev/ch0 : 46.Bd -literal -offset indent 47changer ch0 { 48 drive rst3 49 drive rst2 50} 51.Ed 52.El 53.Sh FILES 54.Bl -tag -width "/etc/chio.confXXX" -compact 55.It /dev/ch0 56Default changer device. 57.It /etc/chio.conf 58Default location for 59.Xr chio 1 60configuration file. 61.El 62.Sh SEE ALSO 63.Xr chio 1 , 64.Xr mt 1 65.Sh HISTORY 66The 67.Nm 68file format first appeared in 69.Ox 4.0 . 70