CONFIG(8)

NAME
config - build system configuration files

SYNOPSIS
/usr/etc/config [ -src ] config_file

DESCRIPTION

Config builds a set of system configuration files from a short file that describes the system being configured. It also accepts input files that tell config what files are needed to generate a system. This can be augmented by a configuration-specific set of files that give alternate files for a specific machine. Additional input files describe other system configuration attributes (see "FILES" later in this entry). If the -src option is supplied, config makes a system that uses the DYNIX source code.

Config should be run from the conf subdirectory of the system source (usually /sys/conf). Config assumes that a directory ../config_file has already been created, and it places all its output files there. The output of config consists of a number of files: ioconf.c contains a description of what I/O devices are attached to the system; conf.c contains a description of the block and character device table entry points; makefile is a file used by make(1) in building the system; a set of header files contains the number of various devices to be compiled into the system; and a set of swap configuration files contains definitions for the disk areas to be used for swapping, the root file system, and argument processing.

If you have supplied the -src option, you will need to invoke ``make depend'' in the directory in which the new makefile was created after running config. Config reminds you of this upon completion.

If you get any other error messages from config, fix the problems in your configuration file and try again. If you try to compile a system that had configuration errors, you will probably meet with failure.

FILES
/sys/conf/makefile.balance	generic makefile for DYNIX
/sys/conf/files	common files from which system is built
/sys/conf/files.balance	DYNIX-specific files
/sys/conf/devices.balance	major device mapping file for DYNIX
/sys/conf/controllers.balance	possible controller types with config flags
/sys/conf/DYNIX	DYNIX kernel file

SEE ALSO
"Managing the DYNIX Kernel," DYNIX System Administration Guide

BUGS
The line numbers reported in error messages are usually off by one.