Clarify dumpon/swapon usage wrt getting a kernel crash dump.

PR:		docs/50790
This commit is contained in:
Murray Stokely 2003-05-05 03:40:01 +00:00
parent afbf6cdb4a
commit 8c4d32e232
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=16796

View file

@ -20,11 +20,17 @@
tapes for example, are currently not supported.</para>
<note>
<para>Use the &man.dumpon.8; command to tell the kernel where to dump to
(note that this will have to be done after configuring the partition in
question as swap space via &man.swapon.8;). This is normally arranged
by setting the <varname>dumpdev</varname> variable in
<filename>/etc/rc.conf</filename>.</para>
<para>Use the &man.dumpon.8; command to tell the kernel where to
save crash dumps. The <command>dumpon</command> program must
be called after the swap partition has been configured with
&man.swapon.8;. This is normally arranged by setting the
<varname>dumpdev</varname> variable in &man.rc.conf.5;. If
this variable is set, then the &man.savecore.8; program will
automatically be called on the first multi-user boot after the
crash. This program will save the kernel crash dump to the
directory specified in the <filename>rc.conf</filename>
<varname>dumpdir</varname> variable. The default directory
for crash dumps is <filename>/var/crash</filename>.</para>
<para>Alternatively, you can hard-code the dump device via the
<literal>dump</literal> clause in the <literal>config</literal> line of