Man page of LIBSJI
Section: Maintenance Commands (8)
Updated: Dec 11, 01m
Return to Main Contents
- Standard Jukebox Interface (SJI) Library
The Standard Jukebox Interface (SJI) is a public set of
interfaces that NetWorker uses to communicate with jukeboxes.
Generally the function of this library is to convert SJI
commands, as formed by NetWorker, to the appropriate SCSI
commands (since most autochangers are SCSI based). But the
underlying attachment to the jukebox is irrelevant to
the functioning of this interface.
There are three entry points into this library:
- void * sji_open ( char * devname )
This opens a channel to an SJI compliant jukebox, named
A channel token, of type
is returned if the channel is opened successfully, otherwise a channel token
NULL is returned.
The device name
can be a specific ordinal
SCSI address, for example,
is the logical scsi bus,
is the SCSI target, and
is the SCSI logical unit number (LUN) on that target.
For platforms that do not use EMC device drivers, the device name can also
be a platform-specific
style device name, for example,
- int sji_cmd ( void *token, int cmd, void *arg )
This sends an SJI command to the device opened by
- void sji_close ( void *token )
This closes a channel to the device opened by the call made to the
The location of the SJI library varies from platform to platform.
This document was created by
using the manual pages.
Time: 02:37:11 GMT, October 02, 2010