autoconf(8) autoconf(8)
NAME
autoconf - display hardware configuration
SYNOPSIS
autoconf -l [-v]
autoconf -p
autoconf -a [-v]
autoconf -d devname
autoconf -f
DESCRIPTION
autoconf displays information about the various hardware components of
the system and the current state of the associated software.
Hardware configuration information is maintained by the kernel in a
set of data structures resembling a tree. Each data structure or node
represents a single hardware device. The nodes are connected together
in a way that usefully represents the way the hardware is connected
together. Controllers are attached to buses, and devices are connected
to controllers.
OPTIONS
-l Display hardware configuration. Each line describes a node in the
kernel autoconf tree. Indentation is used to indicate where in
the tree the node appears. The root node is leftmost. The branch
and leaf nodes are displayed progressively to the right. Each
line contains the device name and a descriptive string from the
node.
-v The verbose, -v, flag adds node type and state information to the
beginning of each line. The state information is described by
several letters. The letter F indicates that the device was found
by the software. E indicates that the device has been enabled for
use. B indicates that the device is broken and may not work reli-
ably if still enabled.
The following is an example of the output lines that can occur
when calling autoconf -lv:
DEV:FE O :D RX : ios0/sdisk040 MP14 -- MP14
"O" stands for "open", which means that one of the disk parti-
tions is currently in use. If there is an "S" (suspended) here
instead of an "O", the device cannot be used at this time.
-p Display hardware configuration in an easily parsable format. This
option is equivalent to the -l option except that fields in each
line of output are separated by "|" characters.
Page 1 Reliant UNIX 5.44 Printed 11/98
autoconf(8) autoconf(8)
-a Display all information about the autoconf node, such as tree
connectivity, memory requirements, and any hardware specific
information (i.e. SCSI inquiry name). This format is primarily
useful for field engineers.
-d devname
Outputs the major number and minor number of the device specified
in devname. The device name must be specified as follows, for
example: ios0/sdisk000s0 or ios0/stape000h.
-f Display the inquiry data (device name + firmware revisions) of
all SCSI devices (disks, tape drives etc.).
DIAGNOSTICS
Exit status is normally 0. If an error occurs, exit status is 1.
NOTES
Some device drivers may not use the autoconf kernel facilities. auto-
conf will not produce any output for these devices.
FILES
/dev/autoconf
SEE ALSO
devname(7).
Page 2 Reliant UNIX 5.44 Printed 11/98