From owner-freebsd-hackers Fri Feb 19 12:26:10 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from epistolic.cynic.net (epistolic.cynic.net [199.175.137.136]) by hub.freebsd.org (Postfix) with ESMTP id AB07011AB1 for ; Fri, 19 Feb 1999 12:25:18 -0800 (PST) (envelope-from cjs@cynic.net) Received: from localhost (localhost [[UNIX: localhost]]) by epistolic.cynic.net (8.9.1a/8.9.1) with SMTP id MAA20082; Fri, 19 Feb 1999 12:25:14 -0800 (PST) Date: Fri, 19 Feb 1999 12:25:13 -0800 (PST) From: Curt Sampson To: Peter Edwards Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: savecore before swapon? In-Reply-To: <36CD7145.EC9EA9D5@isocor.ie> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 19 Feb 1999, Peter Edwards wrote: > Matthew Dillon wrote: > > > > :Or start allocating swap 'backwards' from the high block# on the disk > > :downwards. > > How about _dumping_ to the end of the swap device, rather than hacking > on the swap code. Not hard. See NetBSD's code to set dumplo and call the dump function in src/sys/arch/i386/i386/machdep.c. (I notice you have a dumplo variable in that FreeBSD file, too, but it's never set.) dev/scsipi/sd.c's sddump function starts the dump at offset dumplo (FreeBSD's old scsi/sd.c does the same. I don't know where the code in this file has gone to under CAM.) cjs -- Curt Sampson 604 801 5335 De gustibus, aut bene aut nihil. The most widely ported operating system in the world: http://www.netbsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message