Skip site navigation (1)Skip section navigation (2)
Date:      01 Apr 2002 15:57:21 +0200
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/sys kerneldump.h
Message-ID:  <xzpy9g7bjy6.fsf@flood.ping.uio.no>
In-Reply-To: <5634.1017668341@critter.freebsd.dk>
References:  <5634.1017668341@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp <phk@critter.freebsd.dk> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpy9g7bjy6.fsf>