From owner-freebsd-current@FreeBSD.ORG Thu Jun 16 19:12:02 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D94A716A41C for ; Thu, 16 Jun 2005 19:12:02 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id C57ED43D58 for ; Thu, 16 Jun 2005 19:12:02 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 890F872DDB; Thu, 16 Jun 2005 12:12:02 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 83DD672DD4; Thu, 16 Jun 2005 12:12:02 -0700 (PDT) Date: Thu, 16 Jun 2005 12:12:02 -0700 (PDT) From: Doug White To: Ed Maste In-Reply-To: <20050615141447.GD95217@sandvine.com> Message-ID: <20050616121054.K48551@carver.gumbysoft.com> References: <20050613192308.GA87640@sandvine.com> <20050614082039.GA2038@dragon.NUXI.org> <20050614224704.Y75797@mp2.macomnet.net> <20050614190854.GA12928@dragon.NUXI.org> <20050614235132.L76669@mp2.macomnet.net> <20050615023600.GA20721@dragon.NUXI.org> <20050615141447.GD95217@sandvine.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-current@freebsd.org Subject: Re: savecore(8) increments /var/crash/bounds on each boot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2005 19:12:03 -0000 On Wed, 15 Jun 2005, Ed Maste wrote: > On Tue, Jun 14, 2005 at 07:36:00PM -0700, David O'Brien wrote: > > > Do you understand the fix? How does lying in printheader() fix anything? > > Moving the call to getbounds() back to the original location is the "fix" > > but then it negates -vv. We shouldn't lie in printheader(). > > Fair enough, on dwhite's suggestion here's another try that splits the > increment-and-write out from getbounds() so that the bounds value can > be shown with -vv. Looks good to me, although I won't pass any verdict on style(9)isms. :) -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org