CHIO(1) | MidnightBSD General Commands Manual | CHIO(1) |
chio
— medium
changer control utility
chio |
[-f changer]
command [-<flags> ]
arg1 arg2
[arg3 [...]] |
The chio
utility is used to control the
operation of medium changers, such as those found in tape and optical disk
jukeboxes.
The options are as follows:
-f
changerA medium changer apparatus is made up of elements. There are five element types: picker (medium transport), slot (storage), portal (import/export), drive (data transfer), and voltag (select by volume identifier). The voltag pseudo-element type allows the selection of tapes by their volume tag (typically a barcode on the tape).
In this command description, the shorthand ET will be used to represent an element type, and EU will be used to represent an element unit. For example, to represent the first robotic arm in the changer, the ET would be “picker” and the EU would be “0”.
move
<from ET> <from EU> <to ET> <to
EU> [inv
]inv
is specified, the media unit will be inverted
before insertion.exchange
<src ET> <src EU> <dst1 ET> <dst1
EU> [<dst2 ET> <dst2 ET>]
[inv1
] [inv2
]inv1
and
inv2
specify whether the media units are to be
inverted before insertion into <dst1 ET/EU>
and <dst2 ET/EU> respectively.
Note that not all medium changers support the
exchange
operation; the changer must have
multiple free pickers or emulate multiple free pickers with transient
storage.
return
<from ET> <from EU>position
<to ET> <to EU>
[inv
]inv
is specified, the media unit will be inverted
before insertion.
Note that not all changers behave as expected when issued this command.
params
getpicker
setpicker
<unit>ielem
[<timeout>]voltag
[-fca
] <ET>
<EU> [<label>]
[<serial>]If the -c
flag is specified, the
volume tag of the specified element is cleared. If the
-f
flag is specified, the volume tag is
superseded with the specified volume tag even if a volume tag is already
defined for the element. It is an error to not specify the
-f
flag when trying to set a label for an
element which already has volume tag information defined.
The command works with the primary volume tag or, if the
-a
flag is given, with the alternate volume
tag.
status
[-vVsSbIa
] [<type>]-v
-V
-s
-S
-b
-I
-a
-vVsSba
).The status bits are defined as follows:
CHANGER
chio move
slot 3 drive 0
chio move
voltag VOLUME01 drive 0
chio
return drive 0
chio
setpicker 2
A chio
utility appeared in
NetBSD 1.3. chio
first
appeared in FreeBSD 2.2.
The chio
program and SCSI changer driver
were written by Jason R. Thorpe
<thorpej@and.com> for
And Communications, http://www.and.com/.
Additional work by Hans Huebner <hans@artcom.de> and Steve Gunn <csg@waterspout.com>.
October 5, 2016 | midnightbsd-3.1 |