freebsd-dev/sbin
Poul-Henning Kamp 9e9c1cad4c Here follows the new kernel dumping infrastructure.
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.
2002-03-31 22:24:24 +00:00
..
adjkerntz o Use real prototypes 2002-03-18 04:55:09 +00:00
atacontrol Add support for getting status (fan, temp, 5V and 12V levels) from 2002-03-30 16:36:41 +00:00
atm Default to WARNS=2. 2001-12-04 02:19:58 +00:00
badsect Kill register 2002-03-20 04:33:25 +00:00
bsdlabel Remove stray register 2002-03-19 18:47:50 +00:00
camcontrol Remove 'register' keyword. 2002-03-20 17:55:10 +00:00
ccdconfig o __P removal. 2002-03-18 05:00:52 +00:00
clri Kill register 2002-03-20 04:33:25 +00:00
comcontrol Default to WARNS=2. 2001-12-04 02:19:58 +00:00
conscontrol Default to WARNS=2. 2001-12-04 02:19:58 +00:00
cxconfig Default to WARNS=2. 2001-12-04 02:19:58 +00:00
dhclient Fix "make release.4" breakage. 2002-02-28 16:17:18 +00:00
disklabel Remove stray register 2002-03-19 18:47:50 +00:00
dmesg o Remove __P 2002-03-19 13:29:39 +00:00
dump o remove __P 2002-03-20 22:49:40 +00:00
dumpfs o __P removed 2002-03-20 22:57:10 +00:00
dumpon Here follows the new kernel dumping infrastructure. 2002-03-31 22:24:24 +00:00
fdisk Get this to WARNS=4 and closer to style(9) at a sacrifice in 2002-03-29 19:33:14 +00:00
fdisk_pc98 Add missing \ before an 'n' to get the proper newline when running 2002-03-27 06:20:20 +00:00
ffsinfo "-" now sends output to stdout. 2002-03-20 02:35:14 +00:00
fsck Replace __progname with the functionally identical but more 2002-03-24 15:06:48 +00:00
fsck_ffs Replace __progname with the documented, more acceptable and functionally identical getprogname(3). 2002-03-24 15:17:53 +00:00
fsck_ifs Replace __progname with the documented, more acceptable and functionally identical getprogname(3). 2002-03-24 15:17:53 +00:00
fsck_msdosfs o __P removed 2002-03-20 22:57:10 +00:00
fsdb o __P removal. 2002-03-21 13:10:52 +00:00
fsirand o __P removal. 2002-03-21 13:10:52 +00:00
growfs Remove 'register' keyword. 2002-03-20 17:55:10 +00:00
ifconfig Turn "ether" address family into a generic "link" family 2002-03-27 14:29:23 +00:00
init o remove __P 2002-03-20 22:53:13 +00:00
ip6fw I've been meaning to do this for a while. Add an underscore to the 2002-01-19 23:20:02 +00:00
ipf * add extra -I path to get the "matching" header files. 2002-03-20 09:02:48 +00:00
ipfs add extra include path to get .h files from source being used to compile 2002-03-26 10:09:09 +00:00
ipfstat Hopefully fix make world. 2002-03-19 22:51:53 +00:00
ipfw I've been meaning to do this for a while. Add an underscore to the 2002-01-19 23:20:02 +00:00
ipmon * add extra -I path to get the "matching" header files. (and split the one 2002-03-20 09:04:34 +00:00
ipnat * need to compile printnat.c now that this function is in a separate .c file 2002-03-20 09:01:48 +00:00
kget Default to WARNS=2. 2001-12-04 02:19:58 +00:00
kldconfig Default to WARNS=2. 2001-12-04 02:19:58 +00:00
kldload mdoc(7) police: tidy up previous delta. 2002-01-09 15:22:30 +00:00
kldstat Default to WARNS=2. 2001-12-04 02:19:58 +00:00
kldunload Default to WARNS=2. 2001-12-04 02:19:58 +00:00
ldconfig o __P removed 2002-03-21 13:14:21 +00:00
md5 Fix 2001-12-19 21:19:43 +00:00
mdconfig Revert 1.20: 2002-03-21 12:03:09 +00:00
mdmfs Default to WARNS=2. 2001-12-04 02:19:58 +00:00
mknod Minor English fixes. 2002-03-10 08:50:53 +00:00
mount o __P removed 2002-03-21 13:14:21 +00:00
mount_cd9660 mdoc(7) police: misc fixes. 2002-03-15 14:56:53 +00:00
mount_ext2fs o __P removed 2002-03-21 13:14:21 +00:00
mount_hpfs o __P removed 2002-03-21 13:14:21 +00:00
mount_ifs o __P removed 2002-03-21 13:14:21 +00:00
mount_msdosfs o __P removed 2002-03-21 13:14:21 +00:00
mount_nfs o __P removed 2002-03-21 13:14:21 +00:00
mount_ntfs o __P removed 2002-03-21 13:14:21 +00:00
mount_nullfs o __P removed 2002-03-21 13:14:21 +00:00
mount_nwfs Default to WARNS=2. 2001-12-04 02:19:58 +00:00
mount_portalfs o __P removed 2002-03-21 13:14:21 +00:00
mount_smbfs Add bmake glue for src/contrib/smbfs and connect userland smbfs 2001-12-14 11:41:22 +00:00
mount_std o __P removed 2002-03-21 13:14:21 +00:00
mount_umapfs o __P removed 2002-03-21 13:14:21 +00:00
mount_unionfs o __P removed 2002-03-21 13:14:21 +00:00
mountd o __P removed 2002-03-21 13:14:21 +00:00
natd Back out part of the revision 1.2 changes -- sendto(2) can 2002-01-15 17:07:56 +00:00
newfs Swing the axe and remove some archaic features from newfs which modern 2002-03-20 07:16:15 +00:00
newfs_msdos Default to WARNS=2. 2001-12-04 02:19:58 +00:00
nextboot Default to WARNS=2. 2001-12-04 02:19:58 +00:00
nfsd Fix problem in macro definition breaking compiles with -DDEBUG. 2002-03-26 17:37:59 +00:00
nfsiod o remove __P 2002-03-21 13:20:49 +00:00
nologin Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
nos-tun o remove __P 2002-03-21 13:20:49 +00:00
ping Style(9) local vars after 'register' removal. 2002-03-23 18:10:59 +00:00
ping6 o remove __P 2002-03-21 13:20:49 +00:00
quotacheck o remove __P 2002-03-21 13:20:49 +00:00
rcorder Import the NetBSD 1.5 RC system. 2001-06-16 07:16:14 +00:00
reboot Add forgotten flag in flag lists. 2002-03-25 10:45:28 +00:00
restore o remove __P 2002-03-20 22:49:40 +00:00
route o remove __P 2002-03-21 13:20:49 +00:00
routed o remove __P 2002-03-21 13:20:49 +00:00
rtsol Default to WARNS=2. 2001-12-04 02:19:58 +00:00
savecore o remove __P 2002-03-21 13:20:49 +00:00
setkey mdoc(7) police: protect trailing full stops of abbreviations 2001-08-10 13:45:36 +00:00
shutdown o remove __P 2002-03-21 13:20:49 +00:00
slattach o remove __P 2002-03-21 13:20:49 +00:00
spppcontrol mdoc(7) police: tidy up the markup. 2002-01-10 16:02:23 +00:00
startslip o remove __P 2002-03-21 13:20:49 +00:00
swapon o remove __P 2002-03-21 13:20:49 +00:00
sysctl o remove __P 2002-03-21 13:20:49 +00:00
tunefs o remove __P 2002-03-21 13:20:49 +00:00
umount Default to WARNS=2. 2001-12-04 02:19:58 +00:00
vinum Default to WARNS=2. 2001-12-04 02:19:58 +00:00
Makefile Replaced hacks in sbin/Makefile,v 1.99 and usr.sbin/Makefile,v 1.217 2002-03-21 09:15:39 +00:00
Makefile.inc Default to WARNS=2. 2001-12-04 02:19:58 +00:00