Интерактивная система просмотра системных руководств (man-ов)
dumpon (8)
>> dumpon (8) ( FreeBSD man: Команды системного администрирования )
BSD mandoc
NAME
dumpon
- specify a device for crash dumps
SYNOPSIS
[-v
]
special_file
[-v
]
off
DESCRIPTION
The
utility is used to specify a device where the kernel can save a crash
dump in the case of a panic.
Calls to
normally occur from the system multi-user initialization file
/etc/rc
controlled by the
``dumpdev''
variable in the boot time configuration file
/etc/rc.conf
For most systems the size of the specified dump device must be at
least the size of physical memory.
Even though an additional 64 kB header is added to the dump, the BIOS for a
platform typically holds back some memory, so it is not usually
necessary to size the dump device larger than the actual amount of RAM
available in the machine.
The
utility will refuse to enable a dump device which is smaller than the
total amount of physical memory as reported by the
hw.physmemsysctl(8)
variable.
The
-v
flag causes
to be verbose about its activity.
IMPLEMENTATION NOTES
Since a
panic(9)
condition may occur in a situation
where the kernel cannot trust its internal representation
of the state of any given file system,
one of the system swap devices,
and
not
a device containing a file system,
should be used as the dump device.
The
utility operates by opening
special_file
and making a
DIOCSKERNELDUMPioctl(2)
request on it to save kernel crash dumps.
If
special_file
is the text string:
``off
''
performs a
DIOCSKERNELDUMPioctl(2)
on
/dev/null
and thus instructs the kernel not to save crash dumps.