Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Tidy up the offset calculations. | ps | 2000-05-09 | 1 | -5/+4 |
| | | | | Submitted by: bde | ||||
* | Read the correct size into kdumplo. | ps | 2000-05-09 | 1 | -1/+1 |
| | | | | Botched/Noticed by: peter | ||||
* | Allow savecore to work on > 2GB partitions. | ps | 2000-05-08 | 1 | -2/+4 |
| | | | | Submitted by: peter | ||||
* | Fixed style bugs in rev.1.28. Rev.1.28 was not submitted by bde. | bde | 2000-03-20 | 1 | -2/+3 |
| | |||||
* | Only character devices exsist these days. Make savecore understand | ps | 2000-03-20 | 1 | -33/+8 |
| | | | | this. | ||||
* | Fix bogus initialization of using a sledge hammer to quite -Wall, bad | obrien | 1999-12-21 | 1 | -5/+4 |
| | | | | | | indention, and size issue between 32 and 64bit machines. Submitted by: bde | ||||
* | When erroring out that there is not enough space to write the corefile, | obrien | 1999-12-08 | 1 | -3/+5 |
| | | | | | tell the user how much space is avaible for writing the corefile, and how much space we wanted. | ||||
* | Allow character devices too | ache | 1999-11-30 | 1 | -5/+5 |
| | |||||
* | Fix savecore so that it operates correctly on character devices with | phk | 1999-08-31 | 1 | -27/+90 |
| | | | | | | sectorsizes up to 8k. Pointed out by: sos | ||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-28 | 2 | -2/+2 |
| | |||||
* | Read dumpdev using sysctl(3) interface. Now savecore should work again | luoqi | 1999-05-13 | 1 | -16/+22 |
| | | | | after the dev_t changes. | ||||
* | Fix savecore so that it works on alphas | gallatin | 1999-03-12 | 1 | -1/+7 |
| | | | | Reviewed by: Doug Rabson <dfr@nlsystems.com> | ||||
* | Correct use of .Nm, add rcsid, remove unused #include. | charnier | 1998-07-28 | 2 | -12/+15 |
| | |||||
* | Fixed printf format errors. | bde | 1998-06-28 | 1 | -1/+1 |
| | |||||
* | Pickup _time_second instead of _time | phk | 1998-03-30 | 1 | -2/+2 |
| | |||||
* | compare return value from getopt against -1 rather than EOF, per the final | imp | 1997-03-29 | 1 | -1/+1 |
| | | | | posix standard on the topic. | ||||
* | Revert $FreeBSD$ to $Id$ | peter | 1997-02-22 | 1 | -1/+1 |
| | |||||
* | Make the long-awaited change from $Id$ to $FreeBSD$ | jkh | 1997-01-14 | 1 | -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. | ||||
* | Fix my yesterday's brain-o: don't account for the kilobytes twice. | joerg | 1996-10-14 | 1 | -1/+1 |
| | |||||
* | Yikes! Originally, i intended to apply the patch from PR # 1322, | joerg | 1996-10-13 | 1 | -5/+6 |
| | | | | | | | | | | | | | but Bill has beaten me on this. ;-) However, he missed the part to compute the kernelsize in kilobytes, so the minfree consideration was now overcautious. (I've also changed the return type of dump_size() to void since int was useless.) Being here, the fact that `vmcore' was written world-readable was just a plain security hole: everybody who was able to crash a kernel could later read any confidential information out of it at his will. Create it with umask 077 instead. | ||||
* | Make the savecore command work like the man page says: | fenner | 1996-10-13 | 2 | -10/+21 |
| | | | | | | | | | | | | | - make minfree work by getting the dump size before checking to see if the dump will fit on the filesystem - also fail to dump if no minfree is specified but there are not enough free blocks. Fix a typo in the man page. Fixes PR bin/1322 Submitted by: "Philippe C." <charnier@lirmm.fr> | ||||
* | Cast the partial result of an expression to an off_t to fix an overflow | dg | 1996-09-05 | 1 | -1/+1 |
| | | | | | | in the calculation of free disk space. Fixes PR#1569. Submitted by: Tor Egge <Tor.Egge@idt.ntnu.no> | ||||
* | a header file for zopen.3 | wosch | 1996-08-20 | 2 | -1/+5 |
| | | | | Pointed out by: Philippe Charnier <charnier@lirmm.fr> | ||||
* | NBPG -> getpagesize() | phk | 1996-05-02 | 1 | -1/+1 |
| | |||||
* | Add #include <vm/pmap.h> in order to make savecore compile again after the | peter | 1995-12-13 | 1 | -0/+1 |
| | | | | last round of <vm/*.h> include file changes. | ||||
* | Delete bogus referneces to timezone code internal header file `tzfile.h', | wollman | 1995-08-07 | 1 | -2/+1 |
| | | | | which is no longer bogusly installed in /usr/include. | ||||
* | Remove a newline from the output of savecore(8), so the bogus number | joerg | 1995-07-30 | 1 | -1/+0 |
| | | | | | | | | | 1024 that used to remain on a line of its own after savecore completed its job will be overwritten later in the /etc/rc process. Reviewed by: Submitted by: graichen@sirius.physik.fu-berlin.de (Thomas Graichen) Obtained from: | ||||
* | Remove a bogus fclose. Normally the "w" stream for /var/crash/bounds was | bde | 1995-07-11 | 1 | -1/+0 |
| | | | | | | fclosed twice and this didn't seem to cause any problems, but when /var/crash was on an an unwritable nfs-mounted partition, fclose(NULL) caused a core dump. | ||||
* | Remove trailing whitespace. | rgrimes | 1995-05-30 | 1 | -3/+3 |
| | |||||
* | The -N option takes one argument, hence the getopt control string | joerg | 1995-01-02 | 1 | -1/+1 |
| | | | | | needs to have a colon for it. Looks like nobody has tested this so far. | ||||
* | Get rid of _PATH_UNIX completely; use getbootfile(3) instead. | wollman | 1994-09-24 | 2 | -21/+19 |
| | | | | | | | DANGER WILL ROBINSON! _PATH_UNIX is currently defined as the literal string "don't use this". I am of two minds about this myself, but wanted to get something into the tree as quickly as possible. | ||||
* | Converted 'vmunix' to 'kernel'. | dg | 1994-08-05 | 2 | -22/+22 |
| | |||||
* | Convert to our man installation style. Also fixed long-standing bug | wollman | 1994-08-05 | 1 | -1/+1 |
| | | | | | in `fastboot'/`fasthalt' in which the interpreter would hang around after `reboot' or `halt' is run, causing an irritating ``Killed'' message. | ||||
* | I know better than to edit files on freefall, next time take a patch file. | rgrimes | 1994-05-28 | 1 | -1/+1 |
| | | | | Change vm_paramh. to vm_param.h | ||||
* | Must now include vm/vm.h and vm/vm_param.h due to the way we define KERNBASE. | rgrimes | 1994-05-28 | 1 | -0/+3 |
| | | | | Reviewed by: David Greenman | ||||
* | BSD 4.4 Lite sbin Sources | rgrimes | 1994-05-26 | 3 | -0/+781 |
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin. |