diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-01-04 18:47:12 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-01-04 18:47:12 +0000 |
commit | c7bb0964d9cd0217cdaf4a82ab3d44c63597eaaf (patch) | |
tree | 78e493d3c7330a9f8c380698190ebc053ae9c821 /usr.sbin | |
parent | 27fd401569750304c84062fbd263c0ddc9ffb4e9 (diff) |
re-org some parts; grudging ok from jmc
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/config/config.8 | 74 |
1 files changed, 39 insertions, 35 deletions
diff --git a/usr.sbin/config/config.8 b/usr.sbin/config/config.8 index 0a8e2c64e61..218e2132665 100644 --- a/usr.sbin/config/config.8 +++ b/usr.sbin/config/config.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: config.8,v 1.40 2003/11/17 10:09:11 avsm Exp $ +.\" $OpenBSD: config.8,v 1.41 2004/01/04 18:47:11 deraadt Exp $ .\" $NetBSD: config.8,v 1.10 1996/08/31 20:58:16 mycroft Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -39,8 +39,8 @@ .Sh SYNOPSIS .Nm config .Op Fl b Ar builddir -.Op Fl s Ar srcdir .Op Fl p +.Op Fl s Ar srcdir .Op Ar config-file .Nm config .Fl e @@ -86,45 +86,13 @@ Replace .Dq i386 with the appropriate architecture name. .Pp -The options are as follows: +For kernel building, the options are as follows: .Bl -tag -width Ds -.It Fl e -Allows the modification of kernel device configuration (see -.Xr boot_config 8 ) . -Temporary changes can be made to the running kernel's configuration or a new -kernel binary may be written for permanent changes between system reboots. -See the section -.Sx Kernel modification -below for more details. -.It Fl f -Overwrite the -.Ar infile -kernel binary with the modified kernel. -Otherwise, -.Fl o -should be given to specify an alternate output file. -.It Fl o Ar outfile -Write the modified kernel to -.Ar outfile . -.It Fl u -Check to see if the kernel configuration was modified at boot-time -(i.e., -.Cm boot -c -was used). -If so, compare the running kernel with the kernel to be edited -.Pq Ar infile . -If they seem to be the same, apply all configuration changes performed at -boot. .It Fl b Ar builddir Create the build directory in the path specified by .Ar builddir instead of the default .Pa ../compile/SYSTEMNAME . -.It Fl s Ar srcdir -Use -.Ar srcdir -as the top-level kernel source directory instead of the default (four -directories above the build directory). .It Fl p Configure for a system that includes profiling code; see .Xr kgmon 8 @@ -147,6 +115,42 @@ flag is expected to be used for .Dq one-shot profiles of existing systems; for regular profiling, it is probably wiser to make a separate configuration containing the makeoptions line. +.It Fl s Ar srcdir +Use +.Ar srcdir +as the top-level kernel source directory instead of the default (four +directories above the build directory). +.El +.Pp +For kernel modification, the options are as follows: +.Bl -tag -width Ds +.It Fl e +Allows the modification of kernel device configuration (see +.Xr boot_config 8 ) . +Temporary changes can be made to the running kernel's configuration or a new +kernel binary may be written for permanent changes between system reboots. +See the section +.Sx Kernel modification +below for more details. +.It Fl f +Overwrite the +.Ar infile +kernel binary with the modified kernel. +Otherwise, +.Fl o +should be given to specify an alternate output file. +.It Fl o Ar outfile +Write the modified kernel to +.Ar outfile . +.It Fl u +Check to see if the kernel configuration was modified at boot-time +(i.e., +.Cm boot -c +was used). +If so, compare the running kernel with the kernel to be edited +.Pq Ar infile . +If they seem to be the same, apply all configuration changes performed at +boot. .El .Pp The old |