Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

config(8)  —  RISC

Name

config − build system configuration files

Syntax

/etc/config [−g] [−p] [−s] config_file

Description

The config 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 config 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 −g option is used, config forces the creation of file scs_data.h (if device mscp or scsnet is defined).

If the −p option is supplied, config 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 config command should be run from the conf subdirectory of the system source (usually /sys/conf ). The config command assumes that there is already a directory ../config_file created and it places all its output files in there. The output of config consists of a number files: ioconf.c contains a description of what I/O devices are attached to the system, and makefile is a file used by make() 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 config, it is necessary to run make depend in the directory where the new makefile was created. The config command reminds you of this when it completes.

If you receive other error messages from config, fix the errors in your configuration file and try again. If compile a system that has configuration errors, the system will fail.

Restrictions

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

Files

/sys/conf/mips/makefile.mips
Generic makefile

/sys/conf/mips List of common files that the system is built from

/sys/conf/mips/files.mips
List of machine specific files

/sys/conf/mips/devices.mips
Name to major device mapping file

/sys/conf/mips/filesystems
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

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