date and time created 86/05/25 17:37:32 by mckusick
[unix-history] / usr / src / usr.sbin / config / config.8
... / ...
CommitLineData
1.\" Copyright (c) 1980 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
5.\" @(#)config.8 6.2 (Berkeley) %G%
6.\"
7.TH CONFIG 8 ""
8.UC 4
9.SH NAME
10config \- build system configuration files
11.SH SYNOPSIS
12.B /etc/config
13[
14.B \-p
15]
16.I SYSTEM_NAME
17.SH DESCRIPTION
18.PP
19.I Config
20builds a set of system configuration files from a short file which describes
21the sort of system that is being configured. It also takes as input a file
22which tells
23.I config
24what files are needed to generate a system.
25This can be augmented by a configuration specific set of files
26that give alternate files for a specific machine.
27(see the FILES section below)
28If the
29.B \-p
30option is supplied,
31.I config
32will configure a system for profiling; c.f.
33.IR kgmon (8)
34and
35.IR gprof (1).
36.PP
37.I Config
38should be run from the
39.B conf
40subdirectory of the system source (usually /sys/conf).
41Its argument is the name of a system configuration file
42containing device specifications, configuration options
43and other system parameters for one system configuration.
44.I Config
45assumes that there is already a directory
46.I "../SYSTEM_NAME"
47created and it places all its output files in there.
48The output of
49.I config
50consists of a number of files; for the VAX, they are:
51.B ioconf.c
52contains a description
53of what I/O devices are attached to the system,;
54.B ubglue.s
55contains a set of interrupt service routines for devices
56attached to the UNIBUS;
57.B ubvec.s
58contains offsets into a structure used for counting per-device interrupts;
59.B Makefile
60is a file used by
61.IR make (1)
62in building the system; a set of header files contain definitions of
63the number of various devices that will be compiled into the system;
64and a set of swap configuration files contain definitions for
65the disk areas to be used for swapping, the root file system,
66argument processing, and system dumps.
67.PP
68After running
69.IR config ,
70it is necessary to run ``make depend'' in the directory where the new makefile
71was created.
72.I Config
73prints a reminder of this when it completes.
74.PP
75If any other error messages are produced by
76.I config,
77the problems in the configuration file should be corrected and
78.I config
79should be run again.
80Attempts to compile a system that had configuration errors
81are likely to meet with failure.
82.SH FILES
83.nf
84/sys/conf/Makefile.vax generic makefile for the VAX
85/sys/conf/files list of common files system is built from
86/sys/conf/files.vax list of VAX specific files
87/sys/conf/devices.vax name to major device mapping file for the VAX
88/sys/conf/files.ERNIE list of files specific to ERNIE system
89.fi
90.SH SEE ALSO
91``Building 4.3BSD UNIX System with Config''
92.br
93The SYNOPSIS portion of each device in section 4.
94.SH BUGS
95The line numbers reported in error messages are usually off by one.