Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Nov 2001 11:59:26 +0200
From:      Giorgos Keramidas <charon@labs.gr>
To:        Anthony Atkielski <anthony@atkielski.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: home pc use
Message-ID:  <20011123095926.GC9269@hades.hell.gr>
In-Reply-To: <040d01c173b6$1738e010$0a00000a@atkielski.com>
References:  <15355.2770.644343.846234@guru.mired.org> <01e201c17234$24bc2360$0a00000a@atkielski.com> <20011122200153.GB498@hades.hell.gr> <040d01c173b6$1738e010$0a00000a@atkielski.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011123095926.GC9269>