2008-03-25 19:36:05 +05:30
|
|
|
# Unless you're a kernel developer or driver writer then this won't
|
2007-04-05 16:48:42 +05:30
|
|
|
# be of any interest to you at all.
|
|
|
|
# The following options allow to configure the kernel's core dump
|
2008-03-25 19:36:05 +05:30
|
|
|
# facilities.
|
2007-04-05 16:48:42 +05:30
|
|
|
|
2008-03-25 19:36:05 +05:30
|
|
|
# The dump_device variable is used to specify which device will be
|
2007-04-05 16:48:42 +05:30
|
|
|
# used by the kernel to write the dump down. This has to be a swap
|
|
|
|
# partition, and has to be at least big enough to contain the whole
|
|
|
|
# physical memory (see hw.physmem sysctl(8) variable).
|
|
|
|
# When the variable is commented out, no core dump will be enabled for
|
|
|
|
# the kernel.
|
2008-03-25 19:36:05 +05:30
|
|
|
#dump_device=/dev/ad0s1b
|
2007-04-05 16:48:42 +05:30
|
|
|
|
2008-03-25 19:36:05 +05:30
|
|
|
# The dump_dir variable is used to tell savecore(8) utility where
|
2007-04-05 16:48:42 +05:30
|
|
|
# to save the kernel core dump once it's restored from the dump
|
|
|
|
# device. If unset, /var/crash will be used, as the default of
|
|
|
|
# FreeBSD.
|
2008-03-25 19:36:05 +05:30
|
|
|
#dump_dir=/var/crash
|
2007-04-05 16:48:42 +05:30
|
|
|
|
2008-03-25 19:36:05 +05:30
|
|
|
# The dump_compress variable decide whether to compress with
|
2007-04-05 16:48:42 +05:30
|
|
|
# gzip(1) the dump or leave it of its original size (the size of the
|
|
|
|
# physical memory present on the system). If set to yes, the -z option
|
|
|
|
# will be passed to savecore(8) that will proceed on compressing the
|
|
|
|
# dump.
|
2008-03-25 19:36:05 +05:30
|
|
|
#dump_compress=NO
|