diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-11-02 15:26:08 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-11-02 15:26:08 +0000 |
commit | 1f6210d935498a55d7e890bc7200f4dd09e81884 (patch) | |
tree | 6adc440d18e702ba6db5f7b60bb9a51e9f953d5f /bin/chio/chio.conf.5 | |
parent | 375f4f03223e5a33e982334dd17f98e1a22615f0 (diff) |
add man page for chio.conf; missing file spotted by deraadt
ok beck
Diffstat (limited to 'bin/chio/chio.conf.5')
-rw-r--r-- | bin/chio/chio.conf.5 | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/bin/chio/chio.conf.5 b/bin/chio/chio.conf.5 new file mode 100644 index 00000000000..8de52e8c025 --- /dev/null +++ b/bin/chio/chio.conf.5 @@ -0,0 +1,69 @@ +.\" $OpenBSD: chio.conf.5,v 1.1 2007/11/02 15:26:07 jmc Exp $ +.\" +.\" Copyright (c) 2007 Jason McIntyre <jmc@openbsd.org> +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.\" +.Dd $Mdocdate: November 2 2007 $ +.Dt CHIO.CONF 5 +.Os +.Sh NAME +.Nm chio.conf +.Nd medium changer configuration file +.Sh DESCRIPTION +.Nm +is used to configure some aspects of +.Xr chio 1 , +a medium changer. +.Pp +The configuration file consists of a series of stanzas, +one per changer, +enclosed in curly braces. +Empty lines and lines beginning with +.Sq # +in either file are ignored. +.Pp +The following aspects may be configured: +.Bl -tag -width Ds +.It Ic drive +Provides a non-default mapping between +.Xr st 4 +devices and changer drives. +For example, +to map drive 0 to rst3 and drive 1 to rst2, for changer +.Pa /dev/ch0 : +.Bd -literal -offset indent +changer ch0 { + drive rst3 + drive rst2 +} +.Ed +.El +.Sh FILES +.Bl -tag -width "/etc/chio.confXXX" -compact +.It /dev/ch0 +Default changer device. +.It /etc/chio.conf +Default location for +.Xr chio 1 +configuration file. +.El +.Sh SEE ALSO +.Xr chio 1 , +.Xr mt 1 +.Sh HISTORY +The +.Nm +file format first appeared in +.Ox 4.0 . |