p The options are as follows: l -tag -width indent t Fl f Ar changer Use the device
a changer rather than the default device
p The default changer may be overridden by setting the environment variable .Ev CHANGER to the desired changer device.
p A medium changer apparatus is made up of
a elements . There are four element types:
a picker (medium transport),
a slot (storage),
a drive (data transfer). In this command description, the shorthand c ET will be used to represent an element type, and c EU will be used to represent an element unit. For example, to represent the first robotic arm in the changer, the ET would be .Dq picker and the EU would be .Dq 0 .
p .Sh SUPPORTED COMMANDS .Nm c move .Ar <from ET> <from EU> <to ET> <to EU> .Op Ar inv
p Moves the media unit from
a <to ET/EU> . If the optional modifier
a inv is specified, the media unit will be inverted before insertion.
p .Nm c exchange .Ar <src ET> <src EU> <dst1 ET> <dst1 EU> .Op Ar <dst2 ET> <dst2 ET> .Op Ar inv1 .Op Ar inv2
p Performs a media unit exchange operation. The media unit in
a <dst1 ET/EU> and the media unit previously in
a <dst2 ET/EU> . In the case of a simple exchange,
a <dst2 ET/EU> is omitted and the values
a <src ET/EU> are used in their place. The optional modifiers
a inv1 and
a inv2 specify whether the media units are to be inverted before insertion into
p Note that not all medium changers support the c exchange operation; The changer must have multiple free pickers or emulate multiple free pickers with transient storage.
p .Nm c position .Ar <to ET> <to EU> .Op Ar inv
p Position the picker in front of the element described by
a <to ET/EU> . If the optional modifier
a inv is specified, the media unit will be inverted before insertion.
p Note that not all changers behave as expected when issued this command.
p .Nm c params
p Report the number of slots, drives, pickers, and portals in the changer, and which picker unit the changer is currently configured to use.
p .Nm c getpicker
p Report which picker unit the changer is currently configured to use.
p .Nm c setpicker .Ar <unit>
p Configure the changer to use picker
a <unit> .
p .Nm c status .Op Ar <type>
p Report the status of all elements in the changer. If
a <type> is specified, report the status of all elements of type
a <type> .
p The status bits are defined as follows: l -tag -width indent t Nm FULL Element contains a media unit. t Nm IMPEXP Media was deposited into element by an outside human operator. t Nm EXCEPT Element is in an abnormal state. t Nm ACCESS Media in this element is accessible by a picker. t Nm EXENAB Element supports passing media (exporting) to an outside human operator. t Nm INENAB Element supports receiving media (importing) from an outside human operator. .El
p .Nm c ielem
p Perform an INITIALIZE ELEMENT STATUS operation on the changer.
p .Sh EXAMPLES .Dl chio move slot 3 drive 0
p Moves the media in slot 3 (fourth slot) to drive 0 (first drive).
p .Dl chio setpicker 2
p Configures the changer to use picker 2 (third picker) for operations.
p .Sh FILES /dev/ch0 - default changer device .Sh SEE ALSO .Xr mt 1 , .Xr mount 8 .Sh AUTHOR The .Nm program and SCSI changer driver were written by Jason R. Thorpe <thorpej (at] and.com> for And Communications, http://www.and.com/