summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config/config.8
Commit message (Collapse)AuthorAgeFilesLines
* Improve INCLUDE_CONFIG_FILE support.wkoszek2007-05-121-13/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change will let us to have full configuration of a running kernel available in sysctl: sysctl -b kern.conftxt The same configuration is also contained within the kernel image. It can be obtained with: config -x <kernelfile> Current functionality lets you to quickly recover kernel configuration, by simply redirecting output from commands presented above and starting kernel build procedure. "include" statements are also honored, which means options and devices from included files are also included. Please note that comments from configuration files are not preserved by default. In order to preserve them, you can use -C flag for config(8). This will bring configuration file and included files literally; however, redirection to a file no longer works directly. This commit was followed by discussion, that took place on freebsd-current@. For more details, look here: http://lists.freebsd.org/pipermail/freebsd-current/2007-March/069994.html http://lists.freebsd.org/pipermail/freebsd-current/2007-May/071844.html Development of this patch took place in Perforce, hierarchy: //depot/user/wkoszek/wkoszek_kconftxt/ Support from: freebsd-current@ (links above) Reviewed by: imp@ Approved by: imp@
* Comment out the first paragraph; while it tells the true (we're usingru2006-10-211-14/+14
| | | | | | the old BSD config(8) utility in FreeBSD), it does not look good. PR: docs/100328
* Add an option to tell what version of config(8) this is.obrien2005-08-101-1/+5
|
* Sort sections.ru2005-01-181-2/+2
|
* The ioconf.c is no longer generated.ru2004-12-161-4/+1
| | | | Submitted by: Craig Rodrigues
* Per letter dated July 22, 1999, delete clause 3 from code directlyimp2004-08-071-4/+0
| | | | from Berkeley.
* Add a reference to config(5) in the SEE ALSO section.simon2003-08-061-0/+2
| | | | | Suggested by: dcs Approved by: ceri (mentor)
* Grammar fixbrueffer2003-04-201-1/+1
| | | | | | PR: 51164 Submitted by: Jeff Ito <jeffi@rcn.com> MFC after: 3 days
* Bring the suggested command for extracting a configuration file from theceri2003-02-181-1/+1
| | | | | | | | kernel into line with that suggested in LINT. PR: bin/48157 Submitted by: naddy MFC After: 4.8
* Uniformly refer to a file system as "file system".ru2002-12-121-2/+2
| | | | Approved by: re
* mdoc(7) police: Removed redundant .Ns calls.ru2002-08-131-2/+2
|
* The .Nm utilitycharnier2002-07-141-8/+12
|
* Consistancy check: s/file system/filesystem/gtrhodes2002-05-161-2/+2
|
* mdoc(7) police:ru2001-10-261-38/+49
| | | | | | - Bump document date. - Remove hard sentence breaks. - Fix markup.
* mdoc(7) police: s/BSD/.Bx/ where appropriate.ru2001-08-141-2/+6
|
* Remove whitespace at EOL.dd2001-07-151-4/+4
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Bring FILES section up to date.imp2001-07-041-12/+10
| | | | submitted by: Mark Peek <mark-ml@whistle.com>
* Move kernel compile directory from sys/compile/FOO toimp2001-06-301-1/+1
| | | | | | sys/compile/${MACHINE}/FOO. Reviewed by: obrien, peter and the USENIX terminal room secret kernel cabal
* Clean up some obsolete stuff. config -r has not been needed since aroundpeter2001-01-221-6/+1
| | | | | | FreeBSD 3.x or so when the 'make depend' picked up the opt_foo.h files. Convert warnings into actual errors in the hope that buildkernel users will pay more attention. :-(
* .Nm Config -> .Nm, there is no such program "Config" in FreeBSD.ben2000-12-111-4/+4
| | | | | PR: 23404 Submitted by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-3/+3
|
* Use Fx macro wherever possible.ru2000-11-141-2/+5
|
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-101-2/+1
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Use Ns and Sx. -current is 4 not 3.charnier2000-01-231-5/+6
|
* Apply the axe to some more cruft in config(8). In particular:peter2000-01-081-8/+1
| | | | | | | | | | | | | | | | | | | | | | | - redo the "at" configuration system so that it just syntax checks to make sure the device you're configuring something "at" appears to exist. Nuke a bunch of complexity that was responsible for creating "clones" of wildcard devices and some wierd stuff in a few places including the scbus config tables etc. - merge "controller" and "device" - there is no difference as far as the kernel is concernend, it's just something there to make life difficult for config file writers. "controller" is now an alias for "device". - emit full scsi config into the resource tables. We could trivially change cam to use that rather than it's own "special" table for wiring and static configuration. ATA could use this too for static wiring. - try and emulate some of the quirks of the old system where it made sense. Some were too strange though and I'd be very suprised if they were features and not outright bugs. nexus handling is still strange. One thing in particular is that some of the wierd entries in the newbus devtables is now gone as it was a quirk side effect of the wildcard/question-mark cloning above. GENERIC and LINT still build etc.
* Add option "-d destdir" which instructs config to use another outputmarcel1999-10-301-3/+14
| | | | | | | | | | | | | | | | directory than the default one. If the option is not given, then the output of config is exactly as before. Only when an alternate output directory has been specified will config modify its behavior. Additional changed: o Remove the now conflicting and unused NODEV define. It conflicts with NODEV in sys/param.h. o Rename the now conflicting MACHINE token to ARCH. It conflicts with MACHINE in sys/param.h. o Fix some easy style bugs. o Fix some easy grammar bugs in the manpage. Approved by: peter, archie
* Zap references to 'major' token, it's not used.peter1999-10-081-3/+0
| | | | | Zap references to devices.i386 - it's not used. (neither is devices.pc98 or devices.alpha)
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Fix a bunch of broken cross-referenceschris1999-08-181-2/+2
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The Id line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Back out default debug kernel. The flags revert to historical behaviour.grog1999-04-111-28/+46
| | | | | | | | | | | | | | | Requested-by: ache bde dg Modify targets for debug kernels: when -g was specified, make will now build a debug kernel called kernel.debug, and create a stripped version called kernel at the same time. The two targets install and install.debug are otherwise unchanged. Requested-by: dillon Update man page accordingly.
* add -s to synopsisache1999-04-101-1/+1
|
* 1. Modify config to issue different code for debugging.grog1999-04-071-2/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2. Config complains if you use -g: Debugging is enabled by default, there is no ned to specify the -g option 3. Config warns you if you don't use -s: Building kernel with full debugging symbols. Do "config -s BSD" for historic partial symbolic support. To install the debugging kernel, do make install.debug (BSD was the name of the config file I used; I print out the same name). 4. Modify Makefile.i386, Makefile.alpha, Makefile.pc98 and config to work if a kernel name other than 'kernel' is specified. This is not absolutely necessary, but useful, and it was relatively easy. I now have a kernel called /crapshit :-) 5. Modify Makefile.i386, Makefile.alpha, Makefile.pc98 "clean" target to remove both the debug and normal kernel. 6. Modify all to install the stripped kernel by default and the debug kernel if you enter "make install.debug". 7. Update version number of Makefiles and config.
* Make '-n' the default, and introduce a new flag '-r' to get oldeivind1998-02-181-9/+6
| | | | | behaviour. Also indicate which option(s) are unknown if there are any old-style options.
* Use err(3), add usage(). -Wall clean.charnier1997-09-151-28/+15
|
* Don't say that swapping is configured by config.bde1997-09-071-3/+3
|
* Bring back the `config file in the kernel' feature from the 1.x days. Thisjkh1996-06-081-0/+7
| | | | | | | is conditionalized by the INCLUDE_CONFIG_FILE option in your kernel config file and is not turned on by default. Submitted-By: Bill Pechter <pechter@shell.monmouth.com>
* Implemented non-statistical kernel profiling. This is based onbde1995-12-291-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | looking at a high resolution clock for each of the following events: function call, function return, interrupt entry, interrupt exit, and interesting branches. The differences between the times of these events are added at appropriate places in a ordinary histogram (as if very fast statistical profiling sampled the pc at those places) so that ordinary gprof can be used to analyze the times. gmon.h: Histogram counters need to be 4 bytes for microsecond resolutions. They will need to be larger for the 586 clock. The comments were vax-centric and wrong even on vaxes. Does anyone disagree? gprof4.c: The standard gprof should support counters of all integral sizes and the size of the counter should be in the gmon header. This hack will do until then. (Use gprof4 -u to examine the results of non-statistical profiling.) config/*: Non-statistical profiling is configured with `config -pp'. `config -p' still gives ordinary profiling. kgmon/*: Non-statistical profiling is enabled with `kgmon -B'. `kgmon -b' still enables ordinary profiling (and distables non-statistical profiling) if non-statistical profiling is configured.
* Make good on my promise to finally clean up the config clobbering.jkh1995-02-221-4/+16
| | | | | | | If you invoke config with the `-n' flag or have NO_CONFIG_CLOBBER in your environment, config will behave the same way it used to. This is now _documented_ as well. Rip out all the CONFIG_DONT_CLOBBER cruft; some of it wasn't even correct anyway.
* Fix Sharnoff complaint #121 (cross-reference to config.new which does notwollman1995-01-141-2/+0
| | | | exist on the i386 platform).
* Support for Bruce Evans' new dynamic interrupt support.dg1994-08-181-3/+2
| | | | Submitted by: Bruce Evans
* Upgrade config to be compatible with our i386 port, pull in 95% of thergrimes1994-05-261-20/+24
| | | | | changes that have been made in FreeBSD 1.x, except for possibly the nfs diskless support this is a completed config.
* BSD 4.4 Lite usr.sbin Sourcesrgrimes1994-05-261-0/+174
OpenPOWER on IntegriCloud