Deleted Added
full compact
config.8 (209969) config.8 (233648)
1.\" Copyright (c) 1980, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 12 unchanged lines hidden (view full) ---

21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" @(#)config.8 8.2 (Berkeley) 4/19/94
1.\" Copyright (c) 1980, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 12 unchanged lines hidden (view full) ---

21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" @(#)config.8 8.2 (Berkeley) 4/19/94
29.\" $FreeBSD: head/usr.sbin/config/config.8 209969 2010-07-13 04:08:08Z nwhitehorn $
29.\" $FreeBSD: head/usr.sbin/config/config.8 233648 2012-03-29 05:02:12Z eadler $
30.\"
31.Dd May 8, 2007
32.Dt CONFIG 8
33.Os
34.Sh NAME
35.Nm config
36.Nd build system configuration files
37.Sh SYNOPSIS

--- 43 unchanged lines hidden (view full) ---

81.It Fl m
82Print the MACHINE and MACHINE_ARCH values for this
83kernel and exit.
84.It Fl g
85Configure a system for debugging.
86.It Fl x Ar kernel
87Print kernel configuration file embedded into a kernel
88file.
30.\"
31.Dd May 8, 2007
32.Dt CONFIG 8
33.Os
34.Sh NAME
35.Nm config
36.Nd build system configuration files
37.Sh SYNOPSIS

--- 43 unchanged lines hidden (view full) ---

81.It Fl m
82Print the MACHINE and MACHINE_ARCH values for this
83kernel and exit.
84.It Fl g
85Configure a system for debugging.
86.It Fl x Ar kernel
87Print kernel configuration file embedded into a kernel
88file.
89This option makes sense only if
89This option makes sense only if
90.Cd "options INCLUDE_CONFIG_FILE"
91entry was present in your configuration file.
92.It Fl p
93Configure a system for profiling; for example,
94.Xr kgmon 8
95and
96.Xr gprof 1 .
97If two or more

--- 143 unchanged lines hidden (view full) ---

241.%T "Building 4.3 BSD UNIX System with Config"
242.Re
243.Sh HISTORY
244The
245.Nm
246utility appeared in
247.Bx 4.1 .
248.Pp
90.Cd "options INCLUDE_CONFIG_FILE"
91entry was present in your configuration file.
92.It Fl p
93Configure a system for profiling; for example,
94.Xr kgmon 8
95and
96.Xr gprof 1 .
97If two or more

--- 143 unchanged lines hidden (view full) ---

241.%T "Building 4.3 BSD UNIX System with Config"
242.Re
243.Sh HISTORY
244The
245.Nm
246utility appeared in
247.Bx 4.1 .
248.Pp
249Before support for
249Before support for
250.Fl x
251was introduced,
252.Cd "options INCLUDE_CONFIG_FILE"
253included entire configuration file that used to be embedded in
254the new kernel.
255This meant that
256.Xr strings 1
257could be used to extract it from a kernel:
250.Fl x
251was introduced,
252.Cd "options INCLUDE_CONFIG_FILE"
253included entire configuration file that used to be embedded in
254the new kernel.
255This meant that
256.Xr strings 1
257could be used to extract it from a kernel:
258to extract the configuration information, you had to use
258to extract the configuration information, you had to use
259the command:
260.Pp
261.Dl "strings -n 3 kernel | sed -n 's/^___//p'"
262.Sh BUGS
263The line numbers reported in error messages are usually off by one.
259the command:
260.Pp
261.Dl "strings -n 3 kernel | sed -n 's/^___//p'"
262.Sh BUGS
263The line numbers reported in error messages are usually off by one.