summaryrefslogtreecommitdiffstats
path: root/sbin/dumpon
Commit message (Collapse)AuthorAgeFilesLines
* Adapt to the fact that minidumps are now on by default.joel2013-04-301-4/+11
| | | | PR: 177188
* Document that you can use -v along with -l.alfred2012-11-022-1/+2
| | | | Noticed by: pjd
* Add an option to display the current dump device via dumpon -l.alfred2012-11-012-3/+49
| | | | MFC after: 2 weeks
* Switch the default WARNS level for sbin/ to 6.ru2009-10-191-1/+0
| | | | Submitted by: Ulrich Spörlein
* Whitespace and style nits.jhb2006-10-311-4/+3
|
* With minidumps, the dumping partition could be smaller than physicalps2006-04-271-1/+8
| | | | | | memory, so checking the size of the partition is not necessary. Tested by: kris
* It has not been possible to specify a dumpdev in loader.conf since 2002,kris2006-02-271-10/+0
| | | | so don't raise false hopes here.
* - Mention the size of the additional headerpav2006-01-071-1/+1
| | | | | | PR: docs/85867 Submitted by: dinoex MFC after: 1 week
* Sort sections.ru2005-01-181-10/+10
|
* Promote mediasize and physmem to uintmax_t when comparing them.des2004-10-041-1/+1
|
* Whitespace nit.des2004-10-031-1/+0
|
* dumpon builds cleanly at WARNS level 6.des2004-10-031-1/+1
|
* Verify that the specified device is at least as large as hw.physmem.des2004-10-032-20/+52
|
* Wrap some long lines (no content changes)des2004-10-031-6/+6
|
* `off' is a keyword, not a parameter name.maxim2004-07-181-1/+1
| | | | Obtained from: DragonFly
* Remove advertising clause from University of California Regent's license,markm2004-04-092-8/+0
| | | | | | per letter dated July 22, 1999. Approved by: core, imp
* style.Makefile(5):johan2004-02-231-1/+1
| | | | Use WARNS?= instead of WARNS=.
* Bring the dumpon(8) man page closer to reality:hmp2003-05-071-11/+15
| | | | | | | | | | | | | | | | | | | - dumpon utility has not used kern.dumpdev sysctl since rev. 1.14 (sbin/dumpon/dumpon.c) when phk@ updated it to use the DIOCSKERNELDUMP ioctl [1] - remove obsolete reference to sysctl(3) While I am there, fix two style nits: - use .Nm instead of `dumpon' - change NOTES to IMPLEMENTATION NOTES, to bring it in line with recommended section headings in mdoc(7) Original patch by: Martin Faxer <gmh003532brfmasthugget.se> [1] PR: docs/39293 Approved and Reviewed by: des (mentor), re (scottl, bmah)
* Use __FBSDID() to quiet GCC 3.3 warnings.obrien2003-05-031-4/+4
|
* 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>
OpenPOWER on IntegriCloud