mc01(7)


mc01 -- Storage Device Interface (SDI) medium changer target driver

Description

The mc01 medium changer target driver is the device-level driver for Small Computer System Interface (SCSI) medium changers. SCSI Medium Changers mechanize the movement of media to and from primary devices (such as disk or tape drives) and other locations within the medium changer (magazines).

The mccntl(1M) command provides command-line access to the mc01 target driver. This command allows the user to load, unload, position, initialize device status, and display the current device status.

The special device files in the /dev/mc directory are used to access the medium changers attached to the system. Two names are provided for each medium changer attached to the system. The special device files have the form:


/dev/mc/mcn

n
is the number, starting with 1, of the associated medium changer. There is one special file of this form for each medium changer attached to the system.

/dev/mc/cCbBtTdDlL

C
is the occurrence of the host adapter board in the system (that is, card number)

B
is the bus number

T
is the target controller number

D
is the logical unit number of the medium changer

mc01 device nodes

The device nodes in the /dev/mc directory provide access to SCSI medium changers attached and recognized by the system:

cCbBtTlL

C
Controller Number

B
SCSI Bus Number

T
SCSI Target ID

L
SCSI Logical Unit Number

mcn

n
The changer number. The changers are numbered sequentially starting at 1 as they are found by the system.

ioctl calls

The ioctl(2) calls that are supported by this driver are documented on the sdi(7) manual page.

Files


/usr/include/sys/mc01.h

/usr/include/sys/sdi.h

/usr/include/sys/scsi.h

References

ioctl(2), mccntl(1M), sdi(7)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004