From owner-cvs-all Mon Apr 1 5:57:27 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 60D6D37B41B; Mon, 1 Apr 2002 05:57:24 -0800 (PST) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 64D875346; Mon, 1 Apr 2002 15:57:22 +0200 (CEST) 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: Poul-Henning Kamp Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys kerneldump.h References: <5634.1017668341@critter.freebsd.dk> From: Dag-Erling Smorgrav Date: 01 Apr 2002 15:57:21 +0200 In-Reply-To: <5634.1017668341@critter.freebsd.dk> Message-ID: Lines: 19 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 Poul-Henning Kamp writes: > I had to do the implementation and decided that a binary format made > more sense from various practical points of view. It does not, and I already had patches for savecore and kern_shutdown to implement the text format I had suggested. > Savecore dumps the header in ascii in the .info file, and I find it > unlikely that people will do things like "grep dump /dev/ad0s1b" so > I decided that a binary format was OK for on-disk use. A binary format makes future extensions more difficult. As it is, your dump header already needs modification (or extension) to cope with the sparc64 platform which has discontiguous physical memory, while my proposed text format already handled that case. 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