Resource manager database
The resource manager database is an incore database
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.
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
entry point routine
and used as a parameter to many other entry point routines.
``idata (instance data)''.
The following commands query or update
the incore resource manager:
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.
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
resmgr -k keynumber -p SBRDID
file to the /etc/conf/.sdevice.d file
before the new sdevice.d file is written.
to populate the incore resource manager
with information from the driver's
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.
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
entry point routine, the
by the routines in libresmgr.so,
and by ioctl commands
issued on the /dev/resmgr device.
To dump the current incore resource manager database,
command as follows:
echo resdump | ndcfg -qh
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005