CONFIG(8) —
NAME
config − build system configuration files
SYNOPSIS
/etc/config [ −p ] system_name
DESCRIPTION
Config builds a set of system-configuration files from a short file that describes the system being configured. Config also takes as input a file that tells it which files are needed to generate a system. This can be augmented by a configuration-specific set of files that gives alternate files for a specific machine (see “Files”, below). If the −p option is supplied, config will configure a system for profiling; see kgmon(8) and gprof(1).
Config should be run from the conf subdirectory of the system source (usually, /sys/conf). Config assumes that there is already a directory ../system_name created and places all its output files there. The output of config consists of several files: ioconf.c contains a description of the I/O devices attached to the system. Makefile is used by make(1) in building the system; header files contain the number of various devices to be compiled into the system; and swap-configuration files contain definitions for the disk areas used for swapping, the root file system, argument processing and system dumps.
After running config, it is necessary to run “make depend” in the directory where the new makefile was created. Config reminds you of this when it completes.
If config issues error messages, fix the problems and try again. Do not compile a system that had configuration errors.
FILES
/sys/conf/makefile.cageneric makefile for the IBM RT PC
/sys/conf/fileslist of common files from which system is built
/sys/conf/files.ca list of IBM RT PC-specific files
/sys/conf/devices.caname of major device mapping file for the IBM RT PC
/sys/conf/files.ERNIElist of files specific to ERNIE system
SEE ALSO
“Building IBM/4.3 Systems with Config” in Volume II, Supplementary Documents
The “Synopsis” portion of each device in section 4
BUGS
The line numbers reported in error messages are usually off by one.
PRPQs 5799-WZQ/5799-PFF: IBM/4.3 — July 1987