xref: /netbsd-src/usr.bin/config/config.5 (revision bdc22b2e01993381dcefeff2bc9b56ca75a4235c)
1.\" $NetBSD: config.5,v 1.38 2017/07/03 21:34:18 wiz Exp $
2.\"
3.\"  Copyright (c) 2006, 2007 The NetBSD Foundation.
4.\"  All rights reserved.
5.\"
6.\"  Redistribution and use in source and binary forms, with or without
7.\"  modification, are permitted provided that the following conditions
8.\"  are met:
9.\"  1. Redistributions of source code must retain the above copyright
10.\"     notice, this list of conditions and the following disclaimer.
11.\"  2. Redistributions in binary form must reproduce the above copyright
12.\"     notice, this list of conditions and the following disclaimer in the
13.\"     documentation and/or other materials provided with the distribution.
14.\"
15.\"  THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
16.\"  ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
17.\"  TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
18.\"  PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
19.\"  BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20.\"  CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21.\"  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22.\"  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23.\"  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24.\"  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25.\"  POSSIBILITY OF SUCH DAMAGE.
26.\"
27.Dd July 19, 2016
28.Dt CONFIG 5
29.Os
30.Sh NAME
31.Nm config
32.Nd kernel configuration file syntax
33.Sh DESCRIPTION
34The kernel configuration file specifies the way the kernel should be compiled
35by the rest of the toolchain.
36It is processed by
37.Xr config 1
38to produce a number of files that will allow the user to compile a possibly
39customised kernel.
40One compilation can issue several kernel binaries, with different root and
41dump devices configurations, or with full debugging information.
42.Pp
43This manual page is intended to serve as a complete reference of all aspects
44of the syntax used in the many files processed by
45.Xr config 1 .
46The novice user will prefer looking at the examples given in
47.Xr config.samples 5
48in order to understand better how the default configuration can be changed,
49and how all of its elements interact with each other.
50.Pp
51The kernel configuration file actually contains the description of all the
52options, drivers and source files involved in the kernel compilation, and the
53logic that binds them.
54The
55.Ic machine
56statement, usually found in the
57.Pa std.${MACHINE}
58file, hides this from the user by automatically including all the descriptive
59files spread all around the kernel source tree, the main one being
60.Pa conf/files .
61.Pp
62Thus, the kernel configuration file contains two parts:
63the description of the compilation options, and the selection of those options.
64However, it begins with a small preamble that controls a couple of options of
65.Xr config 1 ,
66and a few statements belong to any of the two sections.
67.Pp
68The user controls the options selection part, which is located in a file
69commonly referenced as the
70.Em main configuration file
71or simply the
72.Em kernel configuration file .
73The developer is responsible for describing the options in the relevant files
74from the kernel source tree.
75.Pp
76Statements are separated by new-line characters.
77However, new-line characters can appear in the middle of a given statement,
78with the value of a space character.
79.Ss OBJECTS AND NAMES
80.Xr config 1
81is a rather complicated piece of software that tries to comply with any
82configuration the user might think of.
83Quite a few different objects are manipulated through the kernel configuration
84file, therefore some definitions are needed.
85.Ss Options and attributes
86The basic objects driving the kernel compilation are
87.Em options ,
88and are called
89.Ar attributes
90in some contexts.
91An
92.Ar attribute
93usually refers to a feature a given piece of hardware might have.
94However, the scope of an attribute is rather wide and can just be a place
95holder to group some source files together.
96.Pp
97There is a special class of attribute, named
98.Em interface attribute ,
99which represents a hook that allows a device to attach to (i.e., be a child of)
100another device.
101An
102.Em interface attribute
103has a (possibly empty) list of
104.Ar locators
105to match the actual location of a device.
106For example, on a PCI bus, devices are located by a
107.Em device number
108that is fixed by the wiring of the motherboard.
109Additionally, each of those devices can appear through several interfaces named
110.Em functions .
111A single PCI device entity is a unique function number of a given device from
112the considered PCI bus.
113Therefore, the locators for a
114.Xr pci 4
115device are
116.Ar dev
117(for device), and
118.Ar function .
119.Pp
120A
121.Ar locator
122can either be a single integer value, or an array of integer values.
123It can have a default value, in which case it can be wildcarded with a
124.Dq \&?
125in the options selection section of the configuration file.
126A single
127.Ar locator
128definition can take one of the following forms:
129.Bl -enum -offset indent -compact
130.It
131.Ar locator
132.It
133.Ar locator
134=
135.Ar value
136.It
137.Ar locator Ns Oo Ar length Oc
138.It
139.Ar locator Ns Oo Ar length Oc = Brq Ar value , ...
140.El
141The variants that specify a default value can be enclosed into square brackets,
142in which case the locator will not have to be specified later in the options
143selection section of the configuration file.
144.Pp
145In the options selection section, the locators are specified when declaring an
146instance as a space-separated list of
147.Dq Ao Ar locator Ac Ao Ar value Ac
148where value can be the
149.Dq \&?
150wildcard if the locator allows it.
151.Ss Devices, instances and attachments
152The main benefit of the kernel configuration file is to allow the user to avoid
153compiling some drivers, and wire down the configuration of some others.
154We have already seen that devices attach to each other through
155.Em interface attributes ,
156but not everything can attach to anything.
157Furthermore, the user has the ability to define precise instances for the
158devices.
159An
160.Ar instance
161is simply the reality of a device when it is probed and attached by the kernel.
162.Pp
163Each driver has a name for its devices.
164It is called the base device name and is found as
165.Ar base
166in this documentation.
167An
168.Ar instance
169is the concatenation of a device name and a number.
170In the kernel configuration file, instances can sometimes be wildcarded
171(i.e., the number is replaced by a
172.Dq *
173or a
174.Dq \&? )
175in order to match all the possible instances of a device.
176.Pp
177The usual
178.Dq *
179becomes a
180.Dq \&?
181when the instance name is used as an
182.Em attachment name .
183In the options selection part of the kernel configuration files, an
184.Em attachment
185is an
186.Em interface attribute
187concatenated with a number or the wildcard
188.Dq \&? .
189.Ss Pseudo-devices
190Some components of the kernel behave like a device although they don't have
191any actual reality in the hardware.
192For example, this is the case for special network devices, such as
193.Xr tun 4
194and
195.Xr tap 4 .
196They are integrated in the kernel as pseudo-devices, and can have several
197instances and even children, just like normal devices.
198.Ss Dependencies
199The options description part of the kernel configuration file contains all the
200logic that ties the source files together, and it is done first through writing
201down dependencies between
202.Xr config 1
203objects.
204.Pp
205In this documentation, the syntax for
206.Ar dependencies
207is a comma-separated list of
208.Ar options
209and
210.Ar attributes .
211.Pp
212For example, the use of an Ethernet network card requires the source files that
213handle the specificities of that protocol.
214Therefore, all Ethernet network card drivers depend on the
215.Ar ether
216attribute.
217.Ss Conditions
218Finally, source file selection is possible through the help of
219conditionals, referred to as
220.Ar condition
221later in this documentation.
222The syntax for those conditions uses well-known operators (
223.Dq & ,
224.Dq |
225and
226.Dq \&! )
227to combine
228.Ar options
229and
230.Ar attributes .
231.Ss CONTEXT NEUTRAL STATEMENTS
232.Bl -ohang
233.It Ic version Ar yyyymmdd
234Indicates the syntax version used by the rest of the file, or until the next
235.Ic version
236statement.
237The argument is an ISO date.
238A given
239.Xr config 1
240binary might only be compatible with a limited range of version numbers.
241.It Ic include Ar path
242Includes a file.
243The path is relative to the top of the kernel source tree, or the inner-most
244defined
245.Ic prefix .
246.It Ic cinclude Ar path
247Conditionally includes a file.
248Contrary to
249.Ic include ,
250it will not produce an error if the file does not exist.
251The argument obeys the same rules as for
252.Ic include .
253.It Ic prefix Op Ar path
254If
255.Ar path
256is given, it pushes a new prefix for
257.Ic file ,
258.Ic include
259and
260.Ic cinclude .
261.Ic prefix
262statements act like a stack, and an empty
263.Ar path
264argument has the latest prefix popped out.
265The
266.Ar path
267argument is either absolute or relative to the current defined prefix, which
268defaults to the top of the kernel source tree.
269.It Ic buildprefix Op Ar path
270If
271.Ar path
272is given, it pushes a new build prefix for
273.Ic file .
274.Ic buildprefix
275statements act like a stack, and an empty
276.Ar path
277argument has the latest prefix popped out.
278The
279.Ar path
280argument is relative to the current defined buildprefix, which
281defaults to the top of the kernel build directory.
282When prefix is either absolute or relative out of the kernel source tree (../),
283buildprefix must be defined.
284.It Ic ifdef Ar attribute
285.It Ic ifndef Ar attribute
286.It Ic elifdef Ar attribute
287.It Ic elifndef Ar attribute
288.It Ic else
289.It Ic endif
290Conditionally interprets portions of the current file.
291Those statements depend on whether or not the given
292.Ar attribute
293has been previously defined, through
294.Ic define
295or any other statement that implicitely defines attributes such as
296.Ic device .
297.El
298.Ss PREAMBLE
299In addition to
300.Ic include , cinclude ,
301and
302.Ic prefix ,
303the preamble may contain the following optional statements:
304.Bl -ohang
305.It Ic build Ar path
306Defines the build directory for the compilation of the kernel.
307It replaces the default of
308.Pa ../compile/<config-file>
309and is superseded by the
310.Fl b
311parameter of
312.Xr config 1 .
313.It Ic source Ar path
314Defines the directory in which the source of the kernel lives.
315It replaces the default of
316.Pa ../../../..
317and is superseded by the
318.Fl s
319parameter of
320.Xr config 1 .
321.El
322.Ss OPTIONS DESCRIPTION
323The user will not usually have to use descriptive statements, as they are meant
324for the developer to tie a given piece of code to the rest of the kernel.
325However, third parties may provide sources to add to the kernel compilation,
326and the logic that binds them to the
327.Nx
328kernel will have to be added to the user-edited configuration file.
329.Bl -ohang
330.It Ic devclass Ar class
331Defines a special attribute, named
332.Em device class .
333A given device cannot belong to more than one device class.
334.Xr config 1
335translates that property by the rule that a device cannot depend on more than
336one device class, and will properly fill the configuration information file it
337generates according to that value.
338.It Ic defflag Oo Ar file Oc Ar option Oo Ar option Oo Ar ... Oc Oc \
339    Op : Ar dependencies
340Defines a boolean option, that can either be selected or be un-selected by the
341user with the
342.Ic options
343statement.
344The optional
345.Ar file
346argument names a header file that will contain the C pre-processor definition
347for the option.
348If no file name is given, it will default to
349.Ar opt_<option>.h .
350.Xr config 1
351will always create the header file, but if the user choose not to select the
352option, it will be empty.
353Several options can be combined in one header file, for convenience.
354The header file is created in the compilation directory, making them directly
355accessible by source files.
356.It Ic defparam Oo Ar file Oc Ar option Oo = Ar value Oc \
357    Oo := Ar lint-value Oc Oo Ar option Oo Ar ... Oc Oc Op : Ar dependencies
358Behaves like
359.Ic defflag ,
360except the defined option must have a value.
361Such options are not typed:
362they can have either a numeric or a string value.
363If a
364.Ar value
365is specified, it is treated as a default, and the option is
366always defined in the corresponding header file.
367If a
368.Ar lint-value
369is specified,
370.Xr config 1
371will use it as a value when generating a lint configuration with
372.Fl L ,
373and ignore it in all other cases.
374.It Ic deffs Ar name Op Ar name Op Ar ...
375Defines a file-system name.
376It is no more than a regular option, as defined by
377.Ic defflag ,
378but it allows the user to select the
379file-systems to be compiled in the kernel with the
380.Ic file-system
381statement instead of the
382.Ic options
383statement.
384.It Ic obsolete defflag Oo Ar file Oc Ar option Op Ar option Op Ar ...
385.It Ic obsolete defparam Oo Ar file Oc Ar option Op Ar option Op Ar ...
386Those two statements are identical and mark the listed option names as
387obsolete.
388If the user selects one of the listed options in the kernel configuration
389file,
390.Xr config 1
391will emit a warning and ignore the option.
392The optional
393.Ar file
394argument should match the original definition of the option.
395.It Ic define Ar attribute Oo Bro Ar locators Brc Oc Oo : Ar dependencies Oc
396Defines an
397.Ar attribute .
398The
399.Ar locators
400list is optional, and can be empty.
401If the pair of brackets are present, the locator list is defined and the
402declared attribute becomes an
403.Em interface attribute ,
404on which devices can attach.
405.It Ic maxpartitions Ar number
406Defines the maximum number of partitions the disklabels for the considered
407architecture can hold.
408This statement cannot be repeated and should only appear in the
409.Pa std\&.$\&{ARCH\&}
410file.
411.It Ic maxusers Ar min default max
412Indicates the range of values that will later be accepted by
413.Xr config 1
414for the
415.Ic maxusers
416statement in the options selection part of the configuration file.
417In case the user doesn't include a
418.Ic maxusers
419statement in the configuration file, the value
420.Ar default
421is used instead.
422.It Ic device Ar base Oo Bro Ar locators Brc Oc Oo : dependencies Oc
423Declares a device of name
424.Ar base .
425The optional list of
426.Ar locators ,
427which can also be empty, indicates the device can have children attached
428directly to it.
429Internally, that means
430.Ar base
431becomes an
432.Ar interface attribute .
433For every device the user selects,
434.Xr config 1
435will add the matching
436.Fn CFDRIVER_DECL
437statement to
438.Pa ioconf.c .
439However, it is the responsibility of the developer to add the relevant
440.Fn CFATTACH_DECL_NEW
441line to the source of the device's driver.
442.It Ic attach Ar base Ic at Ar attr Oo , Ar attr Oo , Ar ... Oc Oc Oo Ic with \
443    Ar name Oc Oo : dependencies Oc
444All devices must have at least one declared attachment.
445Otherwise, they will never be found in the
446.Xr autoconf 9
447process.
448The attributes on which an instance of device
449.Ar base
450can attach must be
451.Ar interface attributes ,
452or
453.Ic root
454in case the device is at the top-level, which is usually the case of e.g.,
455.Xr mainbus 4 .
456The instances of device
457.Ar base
458will later attach to one interface attribute from the specified list.
459.Pp
460Different
461.Ic attach
462definitions must use different names using the
463.Ic with
464option.
465It is then possible to use the associated
466.Ar name
467as a conditional element in a
468.Ic file
469statement.
470.It Ic defpseudo Ar base Oo : dependencies Oc
471Declares a pseudo-device.
472Those devices don't need an attachment to be declared, they will always be
473attached if they were selected by the user.
474.It Ic defpseudodev Ar base Oo Bro Ar locators Brc Oc Oo : dependencies Oc
475Declares a pseudo-device.
476Those devices don't need an attachment to be declared, they will always be
477attached if they were selected by the user.
478This declaration should be used if the pseudodevice uses
479.Xr autoconf 9
480functions to manage its instances or attach children.
481As for normal devices, an optional list of
482.Ar locators
483can be defined, which implies an interface attribute named
484.Ar base ,
485allowing the pseudo-device to have children.
486Interface attributes can also be defined in the
487.Ar dependencies
488list.
489.It Ic file Ar path Oo Ar condition Oc Oo Ic needs-count Oc \
490    Oo Ic needs-flag Oc Op Ic compile with Ar rule
491Adds a source file to the list of files to be compiled into the kernel, if the
492.Ar conditions
493are met.
494The
495.Ic needs-count
496option indicates that the source file requires the number of all the countable
497objects it depends on (through the
498.Ar conditions )
499to be defined.
500It is usually used for
501.Ar pseudo-devices
502whose number can be specified by the user in the
503.Ic pseudo-device
504statement.
505Countable objects are devices and pseudo-devices.
506For the former, the count is the number of declared instances.
507For the latter, it is the number specified by the user, defaulting to 1.
508The
509.Ic needs-flag
510options requires that a flag indicating the selection of an attribute to
511be created, but the precise number isn't needed.
512This is useful for source files that only partly depend on the attribute,
513and thus need to add pre-processor statements for it.
514.Pp
515.Ic needs-count
516and
517.Ic needs-flag
518both produce a header file for each of the considered attributes.
519The name of that file is
520.Pa <attribute>.h .
521It contains one pre-processor definition of
522.Dv NATTRIBUTE
523set to 0 if the attribute was not selected by the user, or to the number of
524instances of the device in the
525.Ic needs-count
526case, or to 1 in all the other cases.
527.Pp
528The
529.Ar rule
530argument specifies the
531.Xr make 1
532rule that will be used to compile the source file.
533If it is not given, the default rule for the type of the file will be used.
534For a given file, there can be more than one
535.Ic file
536statement, but not from the same configuration source file, and all later
537statements can only specify a
538.Ar rule
539argument, and no
540.Ar conditions
541or flags.
542This is useful when a file needs special consideration from one particular
543architecture.
544.Pp
545The path is relative to the top of the kernel source tree, or the inner-most
546defined
547.Ic prefix .
548.It Ic object Ar path Op Ar condition
549Adds an object file to the list of objects to be linked into the kernel, if the
550.Ar conditions
551are met.
552This is most useful for third parties providing binary-only components.
553.Pp
554The path is relative to the top of the kernel source tree, or the inner-most
555defined
556.Ic prefix .
557.It Ic device-major Ar base Oo Ic char Ar number Oc Oo Ic block Ar number Oc \
558    Op Ar condition
559Associates a major device number with the device
560.Ar base .
561A device can be a character device, a block device, or both, and can have
562different numbers for each.
563The
564.Ar condition
565indicates when the relevant line should be added to
566.Pa ioconf.c ,
567and works just like the
568.Ic file
569statement.
570.El
571.Ss OPTIONS SELECTION
572.Bl -ohang
573.It Ic machine Ar machine Op Ar arch Op Ar subarch Op Ar ...
574The
575.Ic machine
576statement should appear first in the kernel configuration file, with the
577exception of context-neutral statements.
578It makes
579.Xr config 1
580include, in that order, the following files:
581.Bl -enum -offset indent -compact
582.It
583.Pa conf/files
584.It
585.Pa arch/${ARCH}/conf/files.${ARCH}
586if defined
587.It
588.Pa arch/${SUBARCH}/conf/files.${SUBARCH}
589for each defined sub-architecture
590.It
591.Pa arch/${MACHINE}/conf/files.${MACHINE}
592.El
593It also defines an attribute for the
594.Ar machine ,
595the
596.Ar arch
597and each of the
598.Ar subarch .
599.It Ic package Ar path
600Simpler version of:
601.Bd -literal -offset indent
602prefix PATH
603include FILE
604prefix
605.Ed
606.It Ic ident Ar string
607Defines the identification string of the kernel.
608This statement is optional, and the name of the main configuration file will be
609used as a default value.
610.It Ic no ident
611Deletes any pre-existing identification string of the kernel.
612.It Ic maxusers Ar number
613Despite its name, this statement does not limit the maximum number of users on
614the system.
615There is no such limit, actually.
616However, some kernel structures need to be adjusted to accommodate with more
617users, and the
618.Ic maxusers
619parameter is used for example to compute the maximum number of opened files,
620and the maximum number of processes, which itself is used to adjust a few
621other parameters.
622.It Ic options Ar name Oo = Ar value Oc Op , Ar name Oo = Ar \
623    value Oc , Ar ...
624Selects the option
625.Ar name ,
626affecting it a
627.Ar value
628if the options requires it (see the
629.Ic defflag
630and
631.Ic defparam
632statements).
633.Pp
634If the option has not been declared in the options description part of the
635kernel configuration machinery, it will be added as a pre-processor definition
636when source files are compiled.
637If the option has previously been selected, the statement produces a
638warning, and the new
639.Ic options
640statement replaces the original.
641.It Ic no options Ar name Op , Ar name Op , Ar ...
642Un-selects the option
643.Ar name .
644If option
645.Ar name
646has not previously been selected, the statement produces a warning.
647.It Ic file-system Ar name Op , Ar name Op , Ar ...
648Adds support for all the listed file-systems.
649.It Ic no file-system Ar name Op , Ar name Op , Ar ...
650Removes support for all the listed file-systems.
651.It Ic config Ar name Ic root on Ar device Oo Ic type Ar fs Oc Op Ic dumps on \
652    Ar device
653Adds
654.Ar name
655to the list of kernel binaries to compile from the configuration file, using
656the specified root and dump devices information.
657.Pp
658Any of the
659.Ar device
660and
661.Ar fs
662parameters can be wildcarded with
663.Dq \&?
664to let the kernel automatically discover those values.
665The
666.Ar device
667can also be specified as a quoted specification string.
668The kernel interprets this string like the console input
669when prompting for a root device.
670E.g.,
671.Dq wedge:NAME
672specifies a named disk wedge.
673.Pp
674At least one
675.Ic config
676statement must appear in the configuration file.
677.It Ic no config Ar name
678Removes
679.Ar name
680from the list of kernel binaries to compile from the configuration file.
681.It Ar instance Ic at Ar attachment Op Ar locator specification
682Configures an instance of a device attaching at a specific location in the
683device tree.
684All parameters can be wildcarded, with a
685.Dq *
686for
687.Ar instance ,
688and a
689.Dq \&?
690for
691.Ar attachment
692and the locators.
693.It Ic no Ar instance Op Ic at Ar attachment
694Removes the previously configured instances of a device that exactly match the
695given specification.
696If two instances differ only by their locators, both are removed.
697If no
698.Ar attachment
699is specified, all matching instances are removed.
700.Pp
701If
702.Ar instance
703is a bare device name, all the previously defined instances of that device,
704regardless of the numbers or wildcard, are removed.
705.It Ic no device at Ar attachment
706Removes all previously configured instances that attach to the specified
707attachment.
708If
709.Ar attachment
710ends with a
711.Dq * ,
712all instances attaching to all the variants of
713.Ar attachment
714are removed.
715.It Ic pseudo-device Ar device Op Ar number
716Adds support for the specified pseudo-device.
717The parameter
718.Ar number
719is passed to the initialisation function of the pseudo-device, usually to
720indicate how many instances should be created.
721It defaults to 1, and some pseudo-devices ignore that parameter.
722.It Ic no pseudo-device Ar name
723Removes support for the specified pseudo-device.
724.It Ic makeoptions Ar name Ns = Ns Ar value Op , Ar name Ns += Ns Ar value \
725    Op , Ar ...
726Adds or appends to a definition in the generated
727.Pa Makefile .
728A definition cannot be overriden, it must be removed before it can be added
729again.
730Optionally, if an option
731.Pa makeoptions_<name>
732is defined with
733.Ic defparam ,
734the
735.Ar value
736is defined as an option too.
737.It Ic makeoptions Ar condition name Ns += Ns Ar value Op , Ar condition \
738    name Ns += Ns Ar value
739Appends to a definition in the generated
740.Pa Makefile .
741.It Ic no makeoptions Ar name Op , Ar name Op , Ar ...
742Removes one or more definitions from the generated
743.Pa Makefile .
744.It Ic select Ar name
745Adds the specified attribute and its dependencies.
746.It Ic no select Ar name
747Removes the specified attribute and all the attributes which depend on it.
748.El
749.Sh FILES
750The files are relative to the kernel source top directory (e.g.,
751.Pa /usr/src/sys ) .
752.Pp
753.Bl -tag -width arch/${MACHINE}/conf/std.${MACHINE}
754.It Pa arch/${MACHINE}/conf/std.${MACHINE}
755Standard configuration for the given architecture.
756This file should always be included.
757.It Pa arch/${MACHINE}/conf/GENERIC
758Standard options selection file for the given architecture.
759Users should always start changing their main kernel configuration file by
760editing a copy of this file.
761.It Pa conf/files
762Main options description file.
763.El
764.Sh EXAMPLES
765.Xr config.samples 5
766uses several examples to cover all the practical aspects of writing or
767modifying a kernel configuration file.
768.Sh SEE ALSO
769.Xr config 1 ,
770.Xr options 4 ,
771.Xr config.samples 5 ,
772.Xr config 9
773