Resource manager database
The resource manager database is an incore database
in SVR5
that is mirrored in the /stand/resmgr file.
The resource manager is a repository for
<key, param, value> tuples
that describe device drivers and other kernel-level resources.
A parameter is an arbitrary character string
uninterpreted by the resource manager.
The
cm_params(D5)
manual pages describes the pre-defined parameters
that drivers and modules can use to
access their configuration information.
DDI 8 drivers access the resource manager keys
for devices controlled by the driver
through the idata value that is returned by
the CFG_ADD subfunction to the
config(D2)
entry point routine
and used as a parameter to many other entry point routines.
See
``Device instance''
and
``idata (instance data)''.
The following commands query or update
the incore resource manager:
dcu(1M)-
examine and modify the current device configuration
by enabling/disabling device drivers,
adding/removing hardware devices,
or modifying hardware parameters.
To obtain information about a particular device
using the dcu command:
-
Issue the dcu command.
-
Select "Hardware Device Configuration."
-
Move the cursor to the entry of interest.
-
Press the <F6> key.
A new screen appears with detailed configuration information.
resmgr(1M)-
The resmgr command issued without arguments
displays the value of many parameters.
Other parameters must be explicitly specified
on the command line, along with the keynumber.
For example, the following command displays
the value of the SBRDID paramter,
which is an optional paramter used for some
PCI devices:
resmgr -k keynumber -p SBRDID
idconfupdate(1M)-
move existing
System(DSP/4dsp)
file to the /etc/conf/.sdevice.d file
before the new sdevice.d file is written.
idresadd(1M)-
called by
idinstall
to populate the incore resource manager
with information from the driver's
System(DSP/4dsp)
file.
ndcfg(1M)-
view the incore resource manager database.
This command is designed to verify the configuration
of network adapter drivers,
but can be used with the -q option
to view the incore resource manager
without reference to a network adapter card.
z35SysInfo-
The /usr/lib/X11/testtools/z35SysInfo -n command
creates an HTML file
that contains system configuration information,
including the contents of the resource manager database,
in a formatted table.
Run the command, then open the .html file
in the /tmp directory
and look for the resmgr section.
This command is used by SCO when testing new operating systems;
if you do not use the -n option,
your configuration information is mailed to SCO
for our database of configurations.
The resource manager is also updated and queried
by the
config(D2)
entry point routine, the
Configuration manager
functions,
by the routines in libresmgr.so,
and by ioctl commands
issued on the /dev/resmgr device.
To dump the current incore resource manager database,
use the
ndcfg
command as follows:
echo resdump | ndcfg -qh
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005