scsiprobe for A/UX (Version 1.11, 5 November 1994)

Copyright (c) 1994 Herb Weiner (herbw@wiskit.com)

scsiprobe uses the A/UX scsi driver to report the vendor,
product, and version of each SCSI device.  It can also
generate disktab entries for disk devices, or report
disk information in a verbose format.

INSTALLATION

scsiprobe is written in ANSI C.  It can be compiled using
gcc.  A Makefile is included.

scsiprobe requires read access to /dev/scsi/*.  Typically,
this means that scsiprobe must be run by root.  Alternatively,
the setuid bit can be set to allow others to run scsiprobe.
Setting the appropriate permissions for /dev/scsi/* and for
scsiprobe is left as an exercise for the reader.

The kernel scsi driver is required.  This is available on
A/UX versions 3.0 and newer.  The kernel scsi driver is
installed using newconfig(1M).  You can check whether this
is installed using module_dump(1M).

USAGE

scsiprobe runs as a unix command.  It does NOT require the
Macintosh environment, and does not need to be run from the
console.  It can be used from within shell scripts.

When used without arguments, it reports the vendor, product, and
version of each SCSI device listed in the /dev/scsi directory.
If one or more devices (e.g. /dev/scsi/3) are listed on the
command line, scsiprobe displays only the listed devices.
The -v, -p, and -r switches can be specified to request
individual fields.  For example,

    setenv DISK3 `scsiprobe -v /dev/scsi/3`

obtains the vendor for the device at SCSI address 3, and
assigns the result to the DISK3 environment variable.

Refer to the man page (scsiprobe.1) for more information.

The scsiprobe package includes a scsi library (scsilib.c
and scsilib.h) that can be used for implementing other SCSI
utilities for A/UX.
