4.3BSD-UWisc/man/cat8/config.8
CONFIG(8) UNIX Programmer's Manual CONFIG(8)
NAME
config - build system configuration files
SYNOPSIS
/etc/config [ -p ] _S_Y_S_T_E_M__N_A_M_E
DESCRIPTION
_C_o_n_f_i_g 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 tells _c_o_n_-
_f_i_g 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. (see the FILES sec-
tion below) If the -p option is supplied, _c_o_n_f_i_g will con-
figure a system for profiling; c.f. _k_g_m_o_n(8) and _g_p_r_o_f(1).
_C_o_n_f_i_g should be run from the conf subdirectory of the sys-
tem source (usually /sys/conf). Its argument is the name of
a system configuration file containing device specifica-
tions, configuration options and other system parameters for
one system configuration. _C_o_n_f_i_g assumes that there is
already a directory ../_S_Y_S_T_E_M__N_A_M_E created and it places all
its output files in there. The output of _c_o_n_f_i_g consists of
a number of files; for the VAX, they are: ioconf.c contains
a description of what I/O devices are attached to the sys-
tem,; ubglue.s contains a set of interrupt service routines
for devices attached to the UNIBUS; ubvec.s contains offsets
into a structure used for counting per-device interrupts;
Makefile is a file used by _m_a_k_e(1) in building the system; a
set of header files contain definitions of the number of
various devices that will be compiled into the system; and a
set of swap configuration files contain definitions for the
disk areas to be used for swapping, the root file system,
argument processing, and system dumps.
After running _c_o_n_f_i_g, it is necessary to run ``make depend''
in the directory where the new makefile was created. _C_o_n_f_i_g
prints a reminder of this when it completes.
If any other error messages are produced by _c_o_n_f_i_g, the
problems in the configuration file should be corrected and
_c_o_n_f_i_g should be run again. Attempts to compile a system
that had configuration errors are likely to meet with
failure.
FILES
/sys/conf/Makefile.vax generic makefile for the VAX
/sys/conf/files list of common files system is built from
/sys/conf/files.vax list of VAX specific files
/sys/conf/devices.vax name to major device mapping file for the VAX
/sys/conf/files.ERNIE list of files specific to ERNIE system
Printed 12/27/86 May 20, 1986 1
CONFIG(8) UNIX Programmer's Manual CONFIG(8)
SEE ALSO
``Building 4.3BSD UNIX System with Config''
The SYNOPSIS portion of each device in section 4.
BUGS
The line numbers reported in error messages are usually off
by one.
Printed 12/27/86 May 20, 1986 2