From owner-freebsd-hackers Fri Feb 19 12:38:25 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (Postfix) with ESMTP id 5083111729 for ; Fri, 19 Feb 1999 12:38:23 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id MAA02782; Fri, 19 Feb 1999 12:38:20 -0800 (PST) (envelope-from dillon) Date: Fri, 19 Feb 1999 12:38:20 -0800 (PST) From: Matthew Dillon Message-Id: <199902192038.MAA02782@apollo.backplane.com> To: Curt Sampson Cc: Peter Edwards , freebsd-hackers@FreeBSD.ORG Subject: Re: savecore before swapon? References: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :> 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. Don'tcha love solutions that are staring you in the face? dumplo is the obvious solution. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message