Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mccntl(1M) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought






       mccntl(1M)                                                mccntl(1M)


       NAME
             mccntl - medium changer control

       SYNOPSIS
             mccntl [-E] [-l slot] [-e slot] [-x slot] [-d special] [-i]
             [-n] [-s] [-L] [-U] [-M]

       DESCRIPTION
             mccntl sends the optional commands to the medium changer
             device driver sub-device /dev/mc/mc*.

          Options
             mccntl accepts the following options:

             -E    Eject the currently loaded media.  The media is returned
                   to the slot it was loaded from.  The functionality of
                   this command is dependent on not using the changer's
                   front panel controls for positioning or
                   loading/unloading media.  If the front panel controls
                   are used, the driver will not be able to determine which
                   slot the media was loaded from.

             -l slot
                   Load the media from slot into the data drive.

             -e slot
                   Eject the media currently loaded in the data drive into
                   the specified slot.

             -x slot
                   Eject the media currently loaded in the data drive into
                   the slot from which it was loaded, then load the media
                   currently in the specified slot into the data drive.

             -d special
                   Perform the requested operation on the medium changer
                   special.  special is the medium changer special device
                   node, and defaults to /dev/mc/mc1 if not specified.
                   There exists one device node in /dev/mc for each medium
                   changer attached to the system.

             -i    Initialize the medium changer status.  This will cause
                   the medium changer to check all elements for medium and
                   any other status relevant to that element.




                           Copyright 1994 Novell, Inc.               Page 1













      mccntl(1M)                                                mccntl(1M)


            -n    Display the number of slots in the currently loaded
                  magazine.

            -s    Display the medium changer and data drive status.

            -L    Disable removal of media via front panel controls.

            -U    Allow removal of media via front panel controls.

            -M    Dump the configurattion status map. This will generate a
                  colon-separated list describing the current
                  configuration.

         Exit Codes
            Exit codes and their meanings are as follows:

            exit(1)
                  Invalid command syntax.

            exit(2)
                  Device failed to open properly.

            exit(3)
                  Unable to determine the number of slots in the currently
                  loaded magazine.

            exit(4)
                  Unable to allocate required memory to complete the
                  requested command.

            exit(5)
                  Unable to obtain device status.

            exit(6)
                  Unable to extract device configuration map.

            exit(7)
                  Data drive is empty, and a request was made to remove
                  media from the drive.

            exit(8)
                  The source element in a move request was empty.

            exit(9)
                  Unable to determine the source element used to load the
                  data drive.


                          Copyright 1994 Novell, Inc.               Page 2













       mccntl(1M)                                                mccntl(1M)


             exit(10)
                   Destination element is full in a move request.

             exit(11)
                   The MC_EXCHANGE command failed.

             exit(12)
                   The MC_MOVE_MEDIUM command failed.

             exit(13)
                   The data transfer element is full, and a request to load
                   the element was made.

             exit(14)
                   The MC_POSITION command failed.

             exit(15)
                   The MC_INIT_STATUS command failed.

             exit(16)
                   The MC_PREVMR command failed.

             exit(17)
                   The MC_ALLOWMR command failed.

          Files
             /dev/mc/mc*





















                           Copyright 1994 Novell, Inc.               Page 3








Typewritten Software • bear@typewritten.org • Edmonds, WA 98026