Date: Fri, 19 Feb 1999 12:25:13 -0800 (PST) From: Curt Sampson <cjs@cynic.net> To: Peter Edwards <peter.edwards@isocor.ie> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: savecore before swapon? Message-ID: <Pine.NEB.4.02.9902191216130.19341-100000@epistolic.cynic.net> In-Reply-To: <36CD7145.EC9EA9D5@isocor.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <cjs@cynic.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.4.02.9902191216130.19341-100000>