From owner-freebsd-questions Fri Nov 23 4:23:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id ED71637B425 for ; Fri, 23 Nov 2001 04:23:08 -0800 (PST) Received: from hades.hell.gr (patr530-b206.otenet.gr [212.205.244.214]) by mailsrv.otenet.gr (8.11.5/8.11.5) with ESMTP id fANCMuY06796; Fri, 23 Nov 2001 14:22:57 +0200 (EET) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id fAN9xQW09518; Fri, 23 Nov 2001 11:59:26 +0200 (EET) (envelope-from charon@labs.gr) Date: Fri, 23 Nov 2001 11:59:26 +0200 From: Giorgos Keramidas To: Anthony Atkielski Cc: questions@FreeBSD.ORG Subject: Re: home pc use Message-ID: <20011123095926.GC9269@hades.hell.gr> References: <15355.2770.644343.846234@guru.mired.org> <01e201c17234$24bc2360$0a00000a@atkielski.com> <20011122200153.GB498@hades.hell.gr> <040d01c173b6$1738e010$0a00000a@atkielski.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <040d01c173b6$1738e010$0a00000a@atkielski.com> User-Agent: Mutt/1.3.23.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2001-11-23 01:30:39, Anthony Atkielski wrote: > Thanks. Looks like no dump was saved in my mystery case. I guess it will > remain a mystery. As long as it doesn't happen again, I don't care. A dump is not generated is a `dumpdev' is not defined in rc.conf before the crash happens. The actual code in the kernel that checks is very easy to locate. Grepping for `dumpdev' in /usr/src/sys/kern gives: % grep -l dumpdev * kern_shutdown.c And then a quick glance at kern_shutdown, reveals: 486 static void 487 dumpsys(void) 488 { ... 494 if (dumpdev == NODEV) 495 return; The lines 494-495 are actually very easy to understand, even without me being a kernel hacker of some sort. I love having the source :) Makes me feel so much better. -giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message