summaryrefslogtreecommitdiffstats
path: root/sbin/dumpon
Commit message (Collapse)AuthorAgeFilesLines
* s/filesystem/file system/g as discussed on -developerstrhodes2002-08-211-3/+3
|
* Improve wording even more.ru2002-08-131-4/+5
|
* Replace the 'at least the amount of physical memory + 64K' with a betterdillon2002-07-091-2/+5
| | | | explanation in regards to sizing the dump device.
* The .Nm utilitycharnier2002-07-061-4/+5
|
* unbreak build: include string.h for strcmp prototype.alfred2002-05-111-0/+1
|
* Update dumpon manual page to explain single/multi-user usabilitytrhodes2002-04-091-6/+4
| | | | | PR: 36465 No Objections from: ru
* Rename DIOCGKERNELDUMP to DIOCSKERNELDUMP as it strictly speakingphk2002-04-091-4/+4
| | | | | | is a "set" not a "get" operation. Sponsored by: DARPA & NAI Labs.
* Move generic disk ioctls from <sys/disklabel.h> to <sys/disk.h>.phk2002-04-081-1/+1
| | | | Sponsored by: DARPA & NAI Labs
* Here follows the new kernel dumping infrastructure.phk2002-03-312-37/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Caveats: The new savecore program is not complete in the sense that it emulates enough of the old savecores features to do the job, but implements none of the options yet. I would appreciate if a userland hacker could help me out getting savecore to do what we want it to do from a users point of view, compression, email-notification, space reservation etc etc. (send me email if you are interested). Currently, savecore will scan all devices marked as "swap" or "dump" in /etc/fstab _or_ any devices specified on the command-line. All architectures but i386 lack an implementation of dumpsys(), but looking at the i386 version it should be trivial for anybody familiar with the platform(s) to provide this function. Documentation is quite sparse at this time, more to come. Sponsored by: DARPA, NAI Labs Details: Dumpon now opens the device and uses ioctl(DIOCGKERNELDUMP) to set it to be the dumpdevice. When "off" is set, /dev/null is used.
* o __Pimp2002-03-181-4/+4
| | | | | | o Strict ANSI declarations. o return (foo); o main (int, char *[])
* CG hard sentence breaks.sobomax2002-01-231-1/+2
| | | | Submitted by: ru
* Don't use `you'.sobomax2002-01-221-3/+2
| | | | Submitted by: ru
* Allow dump device be configured as early as possible using loader(8) tunable.sobomax2002-01-211-6/+12
| | | | | | | This allows obtaining crash dumps from the panics occured during late stages of kernel initialisation before system enters into single-user mode. MFC after: 2 weeks
* Default to WARNS=2.obrien2001-12-041-0/+1
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* Typo.n_hibma2001-10-281-2/+2
|
* Remove whitespace at EOL.dd2001-07-151-6/+6
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Include missing header files which define functions for which gcc hasdd2001-06-241-0/+2
| | | | builtins (e.g., exit, strcmp).
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for sbin/ to 8.ru2001-03-201-1/+0
|
* mdoc(7) police: removed history info from the .Os FreeBSD call.ru2000-12-141-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* * Clarify text on choosing a dump deviceben2000-07-141-7/+17
| | | | | | | | | | | | * Remove the text which states only devices with minor number 1 can be used - this is no longer true. * Mention that dumpon(8) cannot be used to capture dumps from panics during kernel initialization. * /dev/wd -> /dev/ad PR: 19848 Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de> Reviewed by: sheldonh
* Remove unused #include.asmodai2000-05-011-1/+0
|
* Back out the new advice introduced in the previous commit, which atsheldonh2000-03-281-21/+0
| | | | | | | | | least one reviewer is now unhappy with, since it contains incomplete and misleading advice that is not easy to correct. The net effect of this commit and the previous commit is to simply remove all discussion of setting dumpdev to catch crash dumps prior to entering user mode.
* Update instructions for setting the dump device prior to multi-usersheldonh2000-03-281-10/+21
| | | | | | | mode. Reported by: dcs Submitted by: asmodai
* The dumpon sysctl only accept cdevs thse days.phk2000-01-041-2/+3
| | | | Submitted by: bde
* Accept both types of devices to work with older kernels tooache1999-11-301-2/+2
| | | | Fix confusing message
* Convert dumpon to work on character devices instead of block devices.phk1999-11-281-1/+1
| | | | NB: You may need to change your /etc/rc.conf!
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* Use current names for swap devices.jkoshy1999-05-171-3/+3
| | | | | PR: docs/11708 Submitted by: Matthew D. Fuller <fullermd@over-yonder.net>
* Sort cross references.wosch1998-08-311-2/+2
|
* Capitalize at the start of sentence. Add rcsid. Remove unused #includes.charnier1998-06-152-18/+14
| | | | Use `dumpon' instead of argv[0].
* Correct manual page, based on feedback from Bruce Evans.jkoshy1998-05-271-31/+33
| | | | Reviewed by: Bruce Evans <bde@freebsd.org>
* Manual page fix: add cross references, refer to ``dumpdev'' variable injkoshy1998-05-251-9/+33
| | | | | | | "/etc/rc.conf". PR: 6117 Submitted by: Mark Mayo <mark@vmunix.com>
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-2/+2
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-223-3/+3
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-143-3/+3
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Use the .Fx macro where appropriate.mpp1996-08-231-3/+2
|
* Fixed some minor formatting problems to silence manck some more.mpp1996-02-121-2/+2
| | | | | | | | | Corrected some bogus cross references to man pages that we don't/won't have and either deleted them, or found a more appropriate man page that we do have. Various other minor changes to silence manck. Manck is currently down to about 200 lines of errors, down from the 500 - 600+ when I started all this.
* Remove trailing whitespace.rgrimes1995-05-301-3/+3
|
* My utility to specify where you want crash dumps to go. More userwollman1995-05-123-0/+236
and kernel support to follow.
OpenPOWER on IntegriCloud