Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ config(8) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

newkernel

master

system



CONFIG(8,C)                 AIX Commands Reference                  CONFIG(8,C)



-------------------------------------------------------------------------------
config



PURPOSE

Builds kernel configuration modules from system configuration files.

SYNTAX


          +- -m /etc/master -+   +- -c conf.c -+   +- -s summary  -+
config ---|                  |---|             |---|               |--->
          +---- -m mfile ----+   +- -c cfile --+   +---------------+

    +---------+
>---| +-----+ |--- systemfile ------|
    +-| -q  |-+
      +-----+


DESCRIPTION

The config program uses the configuration information in the system and master
files to create modules that are used to build a new kernel.  It can also
produce a list of configured devices used to automate the creation of special
files.

The config program reads the master file (the default is /etc/master) to
determine the device drivers available for linking into the kernel and the
system parameters that can be specified.  It then reads the system file (the
default is /etc/system) to determine the specific device drivers and system
parameters to be used in building a new kernel.  Any system parameters not
specified in the system file assume default values specified in the master
file.  A C configuration module (the default is conf.c) is then produced.  This
module can be compiled and used to build a new kernel.  A configuration summary
is optionally produced in order to build a new kernel when a C compiler is not
available.

In the AIX Operating System, the configuration summary is used to build several
files:

  o A linkage editor script to select which device drivers should be included
    in the new kernel

  o A linkage editor script to select optional kernel support for licensed
    programs such as IBM AIX 370 DOS Merge and IBM AIX 370 TCP/IP

  o A script for updating configurable parameters in the new kernel.





Processed November 8, 1990        CONFIG(8,C)                                 1





CONFIG(8,C)                 AIX Commands Reference                  CONFIG(8,C)



The newkernel command automatically runs the config command, processes the
configuration summary to obtain the scripts described above, and then builds a
new kernel.

FLAGS

-c cfile          Writes the output C configuration module into the named file
                  instead of conf.c.

-m mfile          Reads the master configuration menu from the named file
                  instead of /etc/master.

-s sfile          Writes a complete configuration summary into the file sfile.
                  The configuration summary is not produced if this flag is not
                  specified.

-q                Suppresses information-only warning messages.

Note:  Run print -rr on all the sites (nodes) which are listed in the 'node'
       field of the stanza in the qconfig file.

FILES

/etc/master         Default master configuration menu.
/etc/system         Default system configuration file.
conf.c              Default C configuration file.

RELATED INFORMATION

See the following command: "newkernel."

See the master and system files in AIX Operating System Technical Reference.

See "Generating a New Kernel" in Managing the AIX Operating System.





















Processed November 8, 1990        CONFIG(8,C)                                 2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026