[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 4

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

restbase-o File ] [  -d Path ] [ -v ]

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

-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

  1. To restore base-customized information and see verbose output, enter:

    restbase -v

  2. To restore base information into an alternate device database, enter:

    restbase -d /tmp/objrepos

Files

/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.

Related Information

The bosboot command, savebase command.

Device Configuration Subsystem: Programming Introduction in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.

Object Data Manager (ODM) Overview for Programmers in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs.

List of Device Configuration Commands in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]