From owner-freebsd-questions Mon Sep 28 12:25:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA06491 for freebsd-questions-outgoing; Mon, 28 Sep 1998 12:25:04 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.kersur.net (mail.kersur.net [199.79.199.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA06483 for ; Mon, 28 Sep 1998 12:24:55 -0700 (PDT) (envelope-from druber@mail.kersur.net) Received: from localhost (druber@localhost) by mail.kersur.net (8.8.8/8.8.8) with SMTP id PAA23399 for ; Mon, 28 Sep 1998 15:25:25 -0400 (EDT) Date: Mon, 28 Sep 1998 15:25:25 -0400 (EDT) From: Dan Swartzendruber To: freebsd-questions@FreeBSD.ORG Subject: swapon/savecore question Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG (please forgive me is this is seen twice. when I sent it originally, I was not subscribed, and did so quickly, but I don't know if the mailing list SW rejects mail from non-members. anyway...) I'm a little confused about dumpon&savecore. I've read the manpages about these two, and I've looked at the /etc/rc and /etc/rc.conf stuff relating to them. I understand the concept of saving the dump in the swap partition and copying it out on reboot, but the timing has me puzzled. e.g. the 'swapon -a' is at the beginning of /etc/rc, whereas the 'savecore /var/crash' is towards the end of /etc/rc. If you enable swapping to the swap partition earlier, what keeps the dump from being overwritten before savecore can run? What am I missing? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message