From owner-cvs-all Tue Mar 12 10:59:52 2002 Delivered-To: cvs-all@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 491E437B757; Tue, 12 Mar 2002 10:58:28 -0800 (PST) Received: by flood.ping.uio.no (Postfix, from userid 2602) id BD2F35346; Tue, 12 Mar 2002 19:58:26 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Peter Wemm Cc: Jake Burkholder , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/savecore savecore.c References: <20020312185150.40FE6380A@overcee.wemm.org> From: Dag-Erling Smorgrav Date: 12 Mar 2002 19:58:26 +0100 In-Reply-To: <20020312185150.40FE6380A@overcee.wemm.org> Message-ID: Lines: 18 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Peter Wemm writes: > Dag-Erling Smorgrav wrote: > > ISTR that dumpsys already reserves an extra page or so at the end of > > the dump; this might be a good place to store this data. If not, I'll > > have to modify the format of the dump. > Nope. And to make it worse, the dump routines are in the MI drivers. > dumpsys() does not *do* the dumps, it is the drivers themselves. Yeah, I know. I'm working on the ata driver since that's what most Ultras will use IIRC. I've already modified setdumpdev() to reserve an extra page at the end of the dump. BTW, setdumpdev() assumes that PAGE_SIZE is a multiple of DEV_BSIZE; is this universally true, or just coincidentially true? DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message