From owner-freebsd-bugs Thu May 9 06:10:18 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA02091 for bugs-outgoing; Thu, 9 May 1996 06:10:18 -0700 (PDT) Received: from tfs.com (tfs.com [140.145.250.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id GAA02074 Thu, 9 May 1996 06:10:14 -0700 (PDT) Received: from critter.tfs.com by tfs.com (smail3.1.28.1) with SMTP id m0uHVTw-0003viC; Thu, 9 May 96 06:10 PDT Received: from localhost (localhost [127.0.0.1]) by critter.tfs.com (8.7.5/8.6.12) with SMTP id NAA04846; Thu, 9 May 1996 13:10:12 GMT X-Authentication-Warning: critter.tfs.com: Host localhost [127.0.0.1] didn't use HELO protocol To: joerg_wunsch@interface-business.de (Joerg Wunsch) cc: phk@freefall.freebsd.org, freebsd-bugs@freefall.freebsd.org Subject: Re: kern/794 In-reply-to: Your message of "Thu, 09 May 1996 15:08:23 +0200." <199605091308.PAA14478@ida.interface-business.de> Date: Thu, 09 May 1996 13:10:12 +0000 Message-ID: <4844.831647412@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > As Poul-Henning Kamp wrote: > > > So should we change our code to put dumps starting 8k into the selected > > partition ? > > Can we find about the absolute block number relative to the BSD slice? > If so, we only need to offset the dump if the starting block number of > the `b' partition is < 16. > > I think the computation of the offset must be done at system init > time. If my memory serves well, savecore(8) picks the contents of a > kernel variable at run-time to determine the starting block of the > dump in the dump area. yes, so why not simply change the default from 0 to 8k and teach savecore to look both places ? -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so.