Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ config(8) — BSD/386 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

CONFIG(8)                 BSD System Manager's Manual                CONFIG(8)

NAME
     config - build system configuration files

SYNOPSIS
     config [-p] [-g] SYSTEMNAME

DESCRIPTION
     Config builds a set of system configuration files from the file
     SYSTEMNAME which describes the system to configure.  A second file tells
     config what files are needed to generate a system and can be augmented by
     a configuration specific set of files that give alternate files for a
     specific machine.  (See the FILES section below.)

     Available options and operand:

     -p           If the -p option is supplied, config will configure a system
                  for profiling; see kgmon(8) and gprof(1).

     -g           If the -g option is supplied, two versions of the kernel
                  will be compiled, one of them with a complete symbol table
                  for symbolic debugging (see gdb(1))  and the other with a
                  normal symbol table (which is normally used for booting).

     SYSTEMNAME  This operand specifies the name of the system configuration
                  file containing device specifications, configuration options
                  and other system parameters for one system configuration.

     Config should be run from the conf subdirectory of the system source for
     a specific hardware type (such as /sys/i386/conf). Config places all out-
     put files in the directory ../../compile/SYSTEMNAME. The output of
     config consists of a number of files, including ioconf.c, a description
     of what I/O devices are attached to the system; Makefile, used by make(1)
     in building the system; header files, definitions of the number of vari-
     ous devices that will be compiled into the system; swap configuration
     files, definitions for the disk areas to be used for swapping, the root
     file system, argument processing, and system dumps.

     After running config, it is necessary to run ``make depend'' in the di-
     rectory where the new makefile was created.  Config prints a reminder of
     this when it completes.

     If any other error messages are produced by config, the problems in the
     configuration file should be corrected and config should be run again.
     Attempts to compile a system that had configuration errors are likely to
     fail.

FILES
     /sys/XXX/conf/Makefile.XXX  generic makefile for the XXX architecture
     /sys/conf/files             list of common files system is built from
     /sys/XXX/conf/files.XXX     machine-specific files for each architecture
                                 XXX
     /sys/XXX/conf/devices.XXX   name to major device mapping file for each
                                 architecture XXX
     /sys/XXX/conf/files.ERNIE   list of files specific to ERNIE system

SEE ALSO
     The SYNOPSIS portion of each device in section 4.

     Building Kernels on BSD/386.

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

HISTORY
     The config command appeared in 4.1BSD.

BSDI BSD/386                    March 27, 1993                               2































































Typewritten Software • bear@typewritten.org • Edmonds, WA 98026