Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Feb 1999 08:05:19 -0700
From:      Brandon Gillespie <brandon@roguetrader.com>
To:        Peter Edwards <peter.edwards@isocor.ie>, freebsd-hackers@freebsd.org
Subject:   Re: savecore before swapon?
Message-ID:  <19990219080519.A17503@ice.cold.org>
In-Reply-To: <36CD7145.EC9EA9D5@isocor.ie>; from Peter Edwards on Fri, Feb 19, 1999 at 02:12:21PM %2B0000
References:  <199902171836.TAA00897@yedi.iaf.nl> <199902180049.QAA13082@apollo.backplane.com> <36CD7145.EC9EA9D5@isocor.ie>

next in thread | previous in thread | raw e-mail | index | archive | help

--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




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