Eject -- Eject volumes

Syntax      Eject volume...

Description Flushes the volume and then ejects it if it resides in a drive with
            removeable media.  'volume' may be specified in one of three ways.

            If specified as a decimal number, the utility assumes it to be a
            device number. It then attempts to eject the media from that
            device.

            If 'volume' starts with a period (.) character, the argument is
            assumed to be a device name, which is then used to eject the media.

            If 'volume' starts with a '/' or ':', the argument is assumed to be
            the name of a currently mounted volume.  The utility will determine
            which device the volume is currently mounted in, and then eject the
            media from that device.

            Any number of volumes may be specified on the command line.

            This utility may also be used to unmount any file servers that are
            currently mounted.  See the description of the Choose utility.

Input       None.

Output      None.

Diagnostics Error messages are written to diagnostic output.

Status      The following status codes may be returned:

            0   The disk was successfully ejected.
            1   Syntax error.
            2   An error occurred.

Options     None.

Examples    Eject /My.Data

            Determines which device the volume /My.Data is currently mounted
            in, and then ejects the media if it can be ejected.

            Eject :File.Server 2

            First unmounts the file server named :File.Server, and then ejects
            any media in the second device in the device list.

See Also    Descriptions for the Choose and Online utilities.
