From owner-freebsd-hackers Fri Feb 19 7: 5:34 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from ice.cold.org (cold.org [206.81.134.103]) by hub.freebsd.org (Postfix) with ESMTP id 419E611673 for ; Fri, 19 Feb 1999 07:05:27 -0800 (PST) (envelope-from brandon@ice.cold.org) Received: (from brandon@localhost) by ice.cold.org (8.8.8/8.8.5) id IAA17588; Fri, 19 Feb 1999 08:05:19 -0700 (MST) Date: Fri, 19 Feb 1999 08:05:19 -0700 From: Brandon Gillespie To: Peter Edwards , freebsd-hackers@freebsd.org Subject: Re: savecore before swapon? Message-ID: <19990219080519.A17503@ice.cold.org> References: <199902171836.TAA00897@yedi.iaf.nl> <199902180049.QAA13082@apollo.backplane.com> <36CD7145.EC9EA9D5@isocor.ie> Mime-Version: 1.0 Content-Type: multipart/signed; boundary=OXfL5xGRrasGEqWY; micalg=pgp-md5; protocol="application/pgp-signature" X-Mailer: Mutt 0.95.1i In-Reply-To: <36CD7145.EC9EA9D5@isocor.ie>; from Peter Edwards on Fri, Feb 19, 1999 at 02:12:21PM +0000 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 --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii On Fri, Feb 19, 1999 at 02:12:21PM +0000, Peter Edwards wrote: > Hi, > How about _dumping_ to the end of the swap device, rather than hacking > on the swap code. Actually, I was thinking that rewriting the initial file checks in such a way that it first tries to do them without swap, if it fails it'll then query about starting swap (with a x-second timeout, defaulting to yes). Negative answer will result in a failure (and then init dropping into 'single user' mode)--where positive will just swapon -a, then run fsck again. Since 99% of the time it probably wont be an issue, I think this is probably the best solution (and simplest)... and it doesn't involve hacking anything other than the startup stuff. -Brandon Gillespie --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: tB1F0MgonsIEjAtl49U1N6s5J+y3tqhh iQA/AwUBNs19rkv5XoQiMgn6EQLipQCgtYFRujfgU9jMPZpP24u7Ni+nMZIAoMWR RhlrTlkYfUd7I6Tbi8WSAdsq =RJCh -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message