config(8) System Manager's Manual config(8)
Name
config - build system configuration files
Syntax
/etc/config [-p] [-s] config_file
Description
The command 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 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 section.) If the -p option is supplied, will configure a system
for profiling. You must have sources to use the -p option. Use the -s option when building a kernel from sources.
The command should be run from the subdirectory of the system source (usually ). The command assumes that there is already a directory
created and it places all its output files in there. The output of consists of a number files: contains a description of what I/O devices
are attached to the system, and is a file used by in building the system; 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 file system, argument processing, and system dumps.
After running it is necessary to run in the directory where the new makefile was created. The command reminds you of this when it com-
pletes.
If you receive other error messages from fix the errors in your configuration file and try again. If compile a system that has configura-
tion errors, the system will fail.
Restrictions
The line numbers reported in error messages are usually off by one.
Files
Generic makefile
List of common files that the system is built from
List of machine specific files
Name to major device mapping file
List of known file systems
See Also
The Syntax portion of each device in Section 4 of the ULTRIX Reference Pages
``Building 4.2BSD UNIX System with Config,'' ULTRIX Supplementary Documents, Volume 3: System Manager
RISC config(8)