config.8
来自「早期freebsd实现」· 8 代码 · 共 175 行
8
175 行
.\" Copyright (c) 1980, 1991, 1993.\" The Regents of the University of California. All rights reserved..\".\" Redistribution and use in source and binary forms, with or without.\" modification, are permitted provided that the following conditions.\" are met:.\" 1. Redistributions of source code must retain the above copyright.\" notice, this list of conditions and the following disclaimer..\" 2. Redistributions in binary form must reproduce the above copyright.\" notice, this list of conditions and the following disclaimer in the.\" documentation and/or other materials provided with the distribution..\" 3. All advertising materials mentioning features or use of this software.\" must display the following acknowledgement:.\" This product includes software developed by the University of.\" California, Berkeley and its contributors..\" 4. Neither the name of the University nor the names of its contributors.\" may be used to endorse or promote products derived from this software.\" without specific prior written permission..\".\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION).\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF.\" SUCH DAMAGE..\".\" @(#)config.8 8.2 (Berkeley) 4/19/94.\".Dd April 19, 1994.Dt CONFIG 8.Os BSD 4.Sh NAME.Nm config.Nd build system configuration files.Sh SYNOPSIS.Nm config.Op Fl p.Ar system_name.Sh DESCRIPTION.PpThis is the old version of the.Nm configprogram.It understands the old autoconfiguration schemeused on the HP300, DECstation, and derivative platforms.The new version of config is used with theSPARC and i386 platforms.Only the version of .Nm configapplicable to the architecture that you are runningwill be installed on your machine..Pp.Nm Configbuilds a set of system configuration files from the file.Ar SYSTEM_NAMEwhich describesthe system to configure.A second filetells.Nm configwhat files are needed to generate a system andcan be augmented by configuration specific set of filesthat give alternate files for a specific machine.(see the.Sx FILESsection below).PpAvailable option and operand:.Pp.Bl -tag -width SYSTEM_NAME.It Fl pIf the.Fl poption is supplied, .Nm configwill configure a system for profiling; for example,.Xr kgmon 8and.Xr gprof 1 ..It Ar SYSTEM_NAMEspecifies the name of the system configuration filecontaining device specifications, configuration optionsand other system parameters for one system configuration..El.Pp.Nm Configshould be run from the.Pa confsubdirectory of the system source (usually.Pa /sys/conf ) ..Nm Configassumes the directory.Pa ../SYSTEM_NAMEexists and places all output files there. The output of.Nm configconsists of a number of files; for the.Tn VAX ,they are:.Pa ioconf.c ,a descriptionof what I/O devices are attached to the system;.Pa ubglue.s ,a set of interrupt service routines for devicesattached to the.Tn UNIBUS ;.Pa ubvec.s ,offsets into a structure used for counting per-device interrupts;.Pa Makefile ,used by.Xr make 1in building the system;header files,definitions ofthe number of various devices that will be compiled into the system;swap configuration files,definitions forthe disk areas to be used for swapping, the root file system,argument processing, and system dumps..PpAfter running.Nm config ,it is necessary to run.Dq Li make dependin the directory where the new makefilewas created..Nm Configprints a reminder of this when it completes..PpIf any other error messages are produced by.Nm config ,the problems in the configuration file should be corrected and.Nm configshould be run again.Attempts to compile a system that had configuration errorsare likely to fail..Sh FILES.Bl -tag -width /sys/conf/Makefile.vax -compact.It Pa /sys/conf/Makefile.vaxgeneric makefile for the.Tn VAX.It Pa /sys/conf/fileslist of common files system is built from.It Pa /sys/conf/files.vaxlist of.Tn VAXspecific files.It Pa /sys/conf/devices.vaxname to major device mapping file for the.Tn VAX.It Pa /sys/conf/files. Ns Em ERNIElist of files specific to.Em ERNIEsystem.El.Sh SEE ALSOThe SYNOPSIS portion of each device in section 4..Rs.%T "Building 4.3 BSD UNIX System with Config".Re.sp.Xr config.new 8.Sh BUGSThe line numbers reported in error messages are usually off by one..Sh HISTORYThe.Nmcommand appeared in.Bx 4.1 .
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?