docs/50790: [patch] Expand description of dumpdev use in Developers Handbook
Simon L.Nielsen
simon at nitro.dk
Thu Apr 10 18:40:08 UTC 2003
>Number: 50790
>Category: docs
>Synopsis: [patch] Expand description of dumpdev use in Developers Handbook
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Apr 10 11:40:06 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Simon L. Nielsen
>Release: FreeBSD 4.8-RC i386
>Organization:
>Environment:
>Description:
Document that setting dumpdev in rc.conf also automatically calls
savecore on boot.
Change a reference to /etc/rc.conf to use rc.conf(5) instead.
>How-To-Repeat:
>Fix:
--- doc-develbook-crashdump.patch begins here ---
Index: kerneldebug/chapter.sgml
===================================================================
RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug/chapter.sgml,v
retrieving revision 1.45
diff -u -d -r1.45 chapter.sgml
--- kerneldebug/chapter.sgml 12 Jan 2003 18:31:39 -0000 1.45
+++ kerneldebug/chapter.sgml 10 Apr 2003 18:23:14 -0000
@@ -24,7 +24,12 @@
(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>
+ &man.rc.conf.5;. If you have set <varname>dumpdev</varname> variable
+ in &man.rc.conf.5; the &man.savecore.8; program will automatically be
+ called on the first multi-user boot after the crash and save the kernel
+ crash dump to the directory specified in the &man.rc.conf.5;
+ <varname>dumpdir</varname> variable (the default directory 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
--- doc-develbook-crashdump.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-doc
mailing list