summaryrefslogtreecommitdiffstats
path: root/sbin/dumpon/dumpon.c
Commit message (Collapse)AuthorAgeFilesLines
* unbreak build: include string.h for strcmp prototype.alfred2002-05-111-0/+1
|
* 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-311-36/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 *[])
* Include missing header files which define functions for which gcc hasdd2001-06-241-0/+2
| | | | builtins (e.g., exit, strcmp).
* Remove unused #include.asmodai2000-05-011-1/+0
|
* 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-281-1/+1
|
* Capitalize at the start of sentence. Add rcsid. Remove unused #includes.charnier1998-06-151-15/+11
| | | | Use `dumpon' instead of argv[0].
* 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-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
* Remove trailing whitespace.rgrimes1995-05-301-3/+3
|
* My utility to specify where you want crash dumps to go. More userwollman1995-05-121-0/+129
and kernel support to follow.
OpenPOWER on IntegriCloud