freebsd-nq/etc
Mark Johnston 64a16434d8 Add support for compressed kernel dumps.
When using a kernel built with the GZIO config option, dumpon -z can be
used to configure gzip compression using the in-kernel copy of zlib.
This is useful on systems with large amounts of RAM, which require a
correspondingly large dump device. Recovery of compressed dumps is also
faster since fewer bytes need to be copied from the dump device.

Because we have no way of knowing the final size of a compressed dump
until it is written, the kernel will always attempt to dump when
compression is configured, regardless of the dump device size. If the
dump is aborted because we run out of space, an error is reported on
the console.

savecore(8) is modified to handle compressed dumps and save them to
vmcore.<index>.gz, as it does when given the -z option.

A new rc.conf variable, dumpon_flags, is added. Its value is added to
the boot-time dumpon(8) invocation that occurs when a dump device is
configured in rc.conf.

Reviewed by:	cem (earlier version)
Discussed with:	def, rgrimes
Relnotes:	yes
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D11723
2017-10-25 00:51:00 +00:00
..
autofs
bluetooth
casper
cron.d Conditionally handle the crontab entry for atrun(8) 2017-05-18 06:33:55 +00:00
defaults Add support for compressed kernel dumps. 2017-10-25 00:51:00 +00:00
devd Regenerate usb.conf 2017-10-13 20:29:35 +00:00
etc.aarch64
etc.amd64
etc.arm
etc.i386
etc.mips
etc.powerpc
etc.riscv
etc.sparc64
gss
mail
mtree pf: Basic automated test using VIMAGE 2017-10-06 20:43:14 +00:00
newsyslog.conf.d
ntp Replace the leap-seconds file in r320242 from USNO - 2017-06-23 01:05:49 +00:00
pam.d Remove rcmds. 2017-10-06 08:43:14 +00:00
periodic Anticongestion refinements for ntpd rc script. This reverts r324681 2017-10-19 03:17:50 +00:00
pkg
rc.d Add support for compressed kernel dumps. 2017-10-25 00:51:00 +00:00
root Fix typo introduced in r320672 - check for existence of the right file. 2017-07-05 15:42:33 +00:00
sendmail
syslog.d
amd.map
apmd.conf
auto_master
blacklistd.conf
crontab Conditionally handle the crontab entry for atrun(8) 2017-05-18 06:33:55 +00:00
csh.cshrc
csh.login
csh.logout
ddb.conf
devd.conf
devfs.conf
dhclient.conf
disktab
fbtab
freebsd-update.conf
ftpusers
gettytab
group
hosts
hosts.allow
hosts.equiv
hosts.lpd
inetd.conf Remove rcmds. 2017-10-06 08:43:14 +00:00
libalias.conf
libmap.conf
login.access
login.conf
mac.conf
Makefile Remove a atrun check that is nullified by r318443. 2017-10-21 21:58:24 +00:00
Makefile.depend
master.passwd
minfree
motd
netconfig
netstart
network.subr
networks
newsyslog.conf
nls.alias
nscd.conf
nsmb.conf
nsswitch.conf
ntp.conf
opieaccess
pccard_ether
pf.os
phones
portsnap.conf
printcap
profile
protocols
rc
rc.bsdextended
rc.firewall
rc.initdiskless Remove spurious $flags; it's a paste-o from copying the line from rc.subr. 2017-09-29 22:21:42 +00:00
rc.resume
rc.sendmail
rc.shutdown
rc.subr rc.subr: Remove test that is always true. 2017-10-15 11:28:41 +00:00
rc.suspend
regdomain.xml
remote
rpc
services
shells
snmpd.config
sysctl.conf
syslog.conf
termcap.small