CONFIG(8) — Unix Programmer’s Manual
NAME
config − build system configuration files
SYNOPSIS
/etc/config [ option ] config-file
DESCRIPTION
Note: This function is only applicable to source licensees.
Config builds a set of system configuration files from a short file which describes the sort of system that is being configured. It also takes as input a file which specifies for config the files which 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 (see the Files section below).
OPTION
−p Causes config to configure a system for profiling; c.f. kgmon(8), gprof(1).
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 the I/O devices which are attached to the system; “ubglue.s” contains a set of interrupt service routines for devices attached to the QBUS; “makefile” is used by make(1) in building the system. Also output is a set of header files which contain the number of various devices that will be compiled into the system, and a set of swap configuration files which contain definitions for the disk areas to be used for swapping, the root filesystem, argument processing, and system dumps.
After running config, the user must run make depend in the directory where the new makefile was created. Config reminds the user to do this when it completes.
DIAGNOSTICS
If config issues any other error messages, the user should fix the problems in the configuration file and try again. If the user tries to compile a system containing configuration errors, failure will probably result.
FILES
/sys/conf/makefile.is68kgeneric makefile for the IS68K
/sys/conf/fileslist of common files from which system is built
/sys/conf/files.is68klist of IS68K-specific files
/sys/conf/devices.is68kname of major device mapping file for the IS68K
/sys/conf/files.ERNIElist of files specific to ERNIE system
SEE ALSO
“Building 4.2BSD UNIX System with Config,” available in the UNIX Programmer’s Manual Supplement for Source Licensees.
See also the Synopsis documented for each device, in Section 4, Volume I of the UNIX Programmer’s Manual.
BUGS
The line numbers reported in error messages are usually off by one.
4th Berkeley Distribution — 1 August 1985