aboutsummaryrefslogtreecommitdiff
path: root/sbin/dumpon
Commit message (Collapse)AuthorAgeFilesLines
...
* Whitespace nit.Dag-Erling Smørgrav2004-10-031-1/+0
| | | | Notes: svn path=/head/; revision=136107
* dumpon builds cleanly at WARNS level 6.Dag-Erling Smørgrav2004-10-031-1/+1
| | | | Notes: svn path=/head/; revision=136105
* Verify that the specified device is at least as large as hw.physmem.Dag-Erling Smørgrav2004-10-032-20/+52
| | | | Notes: svn path=/head/; revision=136104
* Wrap some long lines (no content changes)Dag-Erling Smørgrav2004-10-031-6/+6
| | | | Notes: svn path=/head/; revision=136103
* `off' is a keyword, not a parameter name.Maxim Konovalov2004-07-181-1/+1
| | | | | | | Obtained from: DragonFly Notes: svn path=/head/; revision=132348
* Remove advertising clause from University of California Regent's license,Mark Murray2004-04-092-8/+0
| | | | | | | | | per letter dated July 22, 1999. Approved by: core, imp Notes: svn path=/head/; revision=128073
* style.Makefile(5):Johan Karlsson2004-02-231-1/+1
| | | | | | | Use WARNS?= instead of WARNS=. Notes: svn path=/head/; revision=126178
* Bring the dumpon(8) man page closer to reality:Hiten Pandya2003-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) Notes: svn path=/head/; revision=114811
* Use __FBSDID() to quiet GCC 3.3 warnings.David E. O'Brien2003-05-031-4/+4
| | | | Notes: svn path=/head/; revision=114589
* s/filesystem/file system/g as discussed on -developersTom Rhodes2002-08-211-3/+3
| | | | Notes: svn path=/head/; revision=102231
* Improve wording even more.Ruslan Ermilov2002-08-131-4/+5
| | | | Notes: svn path=/head/; revision=101790
* Replace the 'at least the amount of physical memory + 64K' with a betterMatthew Dillon2002-07-091-2/+5
| | | | | | | explanation in regards to sizing the dump device. Notes: svn path=/head/; revision=99676
* The .Nm utilityPhilippe Charnier2002-07-061-4/+5
| | | | Notes: svn path=/head/; revision=99501
* unbreak build: include string.h for strcmp prototype.Alfred Perlstein2002-05-111-0/+1
| | | | Notes: svn path=/head/; revision=96381
* Update dumpon manual page to explain single/multi-user usabilityTom Rhodes2002-04-091-6/+4
| | | | | | | | PR: 36465 No Objections from: ru Notes: svn path=/head/; revision=94300
* Rename DIOCGKERNELDUMP to DIOCSKERNELDUMP as it strictly speakingPoul-Henning Kamp2002-04-091-4/+4
| | | | | | | | | is a "set" not a "get" operation. Sponsored by: DARPA & NAI Labs. Notes: svn path=/head/; revision=94272
* Move generic disk ioctls from <sys/disklabel.h> to <sys/disk.h>.Poul-Henning Kamp2002-04-081-1/+1
| | | | | | | Sponsored by: DARPA & NAI Labs Notes: svn path=/head/; revision=94182
* Here follows the new kernel dumping infrastructure.Poul-Henning Kamp2002-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. Notes: svn path=/head/; revision=93491
* o __PWarner Losh2002-03-181-4/+4
| | | | | | | | | o Strict ANSI declarations. o return (foo); o main (int, char *[]) Notes: svn path=/head/; revision=92542
* CG hard sentence breaks.Maxim Sobolev2002-01-231-1/+2
| | | | | | | Submitted by: ru Notes: svn path=/head/; revision=89699
* Don't use `you'.Maxim Sobolev2002-01-221-3/+2
| | | | | | | Submitted by: ru Notes: svn path=/head/; revision=89671
* Allow dump device be configured as early as possible using loader(8) tunable.Maxim Sobolev2002-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 Notes: svn path=/head/; revision=89601
* Default to WARNS=2.David E. O'Brien2001-12-041-0/+1
| | | | | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike Notes: svn path=/head/; revision=87325
* Typo.Nick Hibma2001-10-281-2/+2
| | | | Notes: svn path=/head/; revision=85630
* Remove whitespace at EOL.Dima Dorfman2001-07-151-6/+6
| | | | Notes: svn path=/head/; revision=79754
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79530
* Include missing header files which define functions for which gcc hasDima Dorfman2001-06-241-0/+2
| | | | | | | builtins (e.g., exit, strcmp). Notes: svn path=/head/; revision=78732
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74815
* Set the default manual section for sbin/ to 8.Ruslan Ermilov2001-03-201-1/+0
| | | | Notes: svn path=/head/; revision=74531
* mdoc(7) police: removed history info from the .Os FreeBSD call.Ruslan Ermilov2000-12-141-1/+1
| | | | Notes: svn path=/head/; revision=70015
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-2/+2
| | | | Notes: svn path=/head/; revision=68960
* * Clarify text on choosing a dump deviceBen Smithurst2000-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 Notes: svn path=/head/; revision=63162
* Remove unused #include.Jeroen Ruigrok van der Werven2000-05-011-1/+0
| | | | Notes: svn path=/head/; revision=59867
* Back out the new advice introduced in the previous commit, which atSheldon Hearn2000-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. Notes: svn path=/head/; revision=58746
* Update instructions for setting the dump device prior to multi-userSheldon Hearn2000-03-281-10/+21
| | | | | | | | | | mode. Reported by: dcs Submitted by: asmodai Notes: svn path=/head/; revision=58732
* The dumpon sysctl only accept cdevs thse days.Poul-Henning Kamp2000-01-041-2/+3
| | | | | | | Submitted by: bde Notes: svn path=/head/; revision=55415
* Accept both types of devices to work with older kernels tooAndrey A. Chernov1999-11-301-2/+2
| | | | | | | Fix confusing message Notes: svn path=/head/; revision=53958
* Convert dumpon to work on character devices instead of block devices.Poul-Henning Kamp1999-11-281-1/+1
| | | | | | | NB: You may need to change your /etc/rc.conf! Notes: svn path=/head/; revision=53838
* $Id$ -> $FreeBSD$Peter Wemm1999-08-283-3/+3
| | | | Notes: svn path=/head/; revision=50476
* Use current names for swap devices.Joseph Koshy1999-05-171-3/+3
| | | | | | | | PR: docs/11708 Submitted by: Matthew D. Fuller <fullermd@over-yonder.net> Notes: svn path=/head/; revision=47261
* Sort cross references.Wolfram Schneider1998-08-311-2/+2
| | | | Notes: svn path=/head/; revision=38702
* Capitalize at the start of sentence. Add rcsid. Remove unused #includes.Philippe Charnier1998-06-152-18/+14
| | | | | | | Use `dumpon' instead of argv[0]. Notes: svn path=/head/; revision=36999
* Correct manual page, based on feedback from Bruce Evans.Joseph Koshy1998-05-271-31/+33
| | | | | | | Reviewed by: Bruce Evans <bde@freebsd.org> Notes: svn path=/head/; revision=36414
* Manual page fix: add cross references, refer to ``dumpdev'' variable inJoseph Koshy1998-05-251-9/+33
| | | | | | | | | | "/etc/rc.conf". PR: 6117 Submitted by: Mark Mayo <mark@vmunix.com> Notes: svn path=/head/; revision=36365
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-291-2/+2
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24359
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-223-3/+3
| | | | Notes: svn path=/head/; revision=22990
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21673
* Use the .Fx macro where appropriate.Mike Pritchard1996-08-231-3/+2
| | | | Notes: svn path=/head/; revision=17786
* Fixed some minor formatting problems to silence manck some more.Mike Pritchard1996-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. Notes: svn path=/head/; revision=14042
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-3/+3
| | | | Notes: svn path=/head/; revision=8871