restbase Command
Purpose
Reads the base-customized information from the boot image, and restores it into the Device Configuration database used during system boot phase 1.
Syntax
Description
The restbase command reads the base-customized information from the boot disk and puts it in the specified Device Configuration database directory. By default, the base information is read from the boot disk. If no Device Configuration database directory is specified, then the restbase command restores this information into the /etc/objrepos directory. You can use the -o flag to specify a file, other than the boot disk, from which to read the base-customized information.
Attention: The restbase command is intended to be executed only during phase 1 of system boot. Do not execute it in a run-time environment or you could destroy the Device Configuration database.
Flags
Item | Description |
---|---|
-o File | Specifies a file that contains base-customized data. |
-d Path | Specifies a directory containing the base Device Configuration database. |
-v | Causes verbose output to be written to standard output. |
Examples
- To restore base-customized
information and see verbose output, enter:
restbase -v
- To restore base information
into an alternate device database, enter:
restbase -d /tmp/objrepos
Files
Item | Description |
---|---|
/usr/lib/objrepos/PdDv | Contains entries for all known device types supported by the system. |
/etc/objrepos/CuDv | Contains entries for all device instances defined in the system. |
/etc/objrepos/CuAt | Contains customized device-specific attribute information. |
/etc/objrepos/CuDep | Describes device instances that depend on other device instances. |
/etc/objrepos/CuDvDr | Stores information about critical resources that need concurrency management through the use of the Device Configuration Library routines. |