From owner-freebsd-hackers Tue Feb 16 8: 4:38 1999 Received: from ice.cold.org (cold.org [206.81.134.103]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA02594 for ; Tue, 16 Feb 1999 08:04:34 -0800 (PST) (envelope-from brandon@ice.cold.org) Received: (from brandon@localhost) by ice.cold.org (8.8.8/8.8.5) id IAA15322 for freebsd-hackers@freebsd.org; Tue, 16 Feb 1999 08:26:00 -0700 (MST) Date: Tue, 16 Feb 1999 08:26:00 -0700 From: Brandon Gillespie To: freebsd-hackers@freebsd.org Subject: savecore before swapon? Message-ID: <19990216082600.A15274@ice.cold.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary=AhhlLboLdkugWU4S; micalg=pgp-md5; protocol="application/pgp-signature" X-Mailer: Mutt 0.95.1i X-Operating-System: FreeBSD 2.2.8-RELEASE X-PGP-Public-Key: http://www.roguetrader.com/~brandon/brandon@roguetrader_com.pubkey Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii I havn't checked the source, but from my understanding shouldn't savecore be run before swapon is run, incase the swap device is the dump device? Or to look at it another way, when swapon is run on a swap device, does it look first to see if there is a dump in it, and if so what does it do? Right now we run swapon, then considerably later we run savecore. Assuming swapon just trashes whatever was in that device, running savecore is pretty much irrelevant, as most people I know (not necessarily in FreeBSD) use their swap device as a dump point. -Brandon Gillespie --AhhlLboLdkugWU4S Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: QdTvRq5UZqLiWdxwbSK39V8oK9jyx/G6 iQA/AwUBNsmOBkv5XoQiMgn6EQIavgCg4AH9PCAUNwDQuTx/3rQ5HghKWAcAnA/j nAtTLcFbuhwklh08UcyDuIXG =XjDd -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message