1CONFIG(8) 386BSD System Manager's Manual CONFIG(8) 2 3NNAAMMEE 4 ccoonnffiigg - build system configuration files 5 6SSYYNNOOPPSSIISS 7 ccoonnffiigg [--pp] _S_Y_S_T_E_M__N_A_M_E 8 9DDEESSCCRRIIPPTTIIOONN 10 CCoonnffiigg builds a set of system configuration files from the file 11 _S_Y_S_T_E_M__N_A_M_E which describes the system to configure. A second file tells 12 ccoonnffiigg what files are needed to generate a system and can be augmented by 13 configuration specific set of files that give alternate files for a 14 specific machine. (see the _F_I_L_E_S section below) 15 16 Available option and operand: 17 18 --pp If the --pp option is supplied, ccoonnffiigg will configure a system 19 for profiling; for example, kgmon(8) and gprof(1). 20 21 _S_Y_S_T_E_M__N_A_M_E specifies the name of the system configuration file 22 containing device specifications, configuration options and 23 other system parameters for one system configuration. 24 25 CCoonnffiigg should be run from the _c_o_n_f subdirectory of the system source 26 (usually /_s_y_s/_c_o_n_f). CCoonnffiigg assumes the directory ../_S_Y_S_T_E_M__N_A_M_E exists 27 and places all output files there. The output of ccoonnffiigg consists of a 28 number of files; for the VAX, they are: _i_o_c_o_n_f._c, a description of what 29 I/O devices are attached to the system; _u_b_g_l_u_e._s, a set of interrupt 30 service routines for devices attached to the UNIBUS; _u_b_v_e_c._s, offsets 31 into a structure used for counting per-device interrupts; _M_a_k_e_f_i_l_e, used 32 by make(1) in building the system; header files, definitions of the 33 number of various devices that will be compiled into the system; swap 34 configuration files, definitions for the disk areas to be used for 35 swapping, the root file system, argument processing, and system dumps. 36 37 After running ccoonnffiigg, it is necessary to run ``make depend'' in the 38 directory where the new makefile was created. CCoonnffiigg prints a reminder 39 of this when it completes. 40 41 If any other error messages are produced by ccoonnffiigg, the problems in the 42 configuration file should be corrected and ccoonnffiigg should be run again. 43 Attempts to compile a system that had configuration errors are likely to 44 fail. 45 46FFIILLEESS 47 /sys/conf/Makefile.vax generic makefile for the VAX 48 /sys/conf/files list of common files system is built from 49 /sys/conf/files.vax list of VAX specific files 50 /sys/conf/devices.vax name to major device mapping file for the VAX 51 /sys/conf/files._E_R_N_I_E list of files specific to _E_R_N_I_E system 52 53SSEEEE AALLSSOO 54 The SYNOPSIS portion of each device in section 4. 55 56 _B_u_i_l_d_i_n_g _4._3 _B_S_D _U_N_I_X _S_y_s_t_e_m _w_i_t_h _C_o_n_f_i_g. 57 58BBUUGGSS 59 The line numbers reported in error messages are usually off by one. 60 61HHIISSTTOORRYY 62 The ccoonnffiigg command appeared in 4.1BSD. 63 644th Berkeley Distribution March 16, 1991 1 65 66 67