config
PURPOSE
Extracts configuration information from configuration
files.
SYNOPSIS
config [ [ -m mfile ] [ -c cfile ] [ -l spfile ] systemfile ]
DESCRIPTION
The config program reads the AIX master and system con-
figuration files (by default /etc/master and the speci-
fied systemfile). It writes a C Language configuration
file and a special file list (by default conf.c and spe-
cials). The special file list is a list of the mknod,
chown, and chmod commands that the shell runs to define
the necessary special files. The return code is the
number of errors encountered.
The C Language configuration file can then be compiled
and linked with other kernel object files to produce a
new kernel. Normally, when you want to reconfigure the
kernel, you should run the make command with the Makefile
supplied in the /usr/sys directory. This runs config and
then builds a new kernel. For a discussion of reconfig-
uring the kernel, see Managing the AIX Operating System.
FLAGS
-c cfile Writes the C configuration file to cfile
instead of to conf.c.
-l spfile Writes the special file list commands to
spfile instead of to specials.
-m mfile Reads mfile instead of /etc/master.
FILES
/etc/master Default master configuration file.
/etc/system A system configuration file.
conf.c Default C configuration file.
specials Default special file list.
RELATED INFORMATION
The following commands: "make" and "vrmconfig."
The master and system files in AIX Operating System Tech-
nical Reference.
The discussion of config in Managing the AIX Operating
System.