Skip site navigation (1)Skip section navigation (2)
Date:      17 Apr 2002 06:56:20 +0200
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        Poul-Henning Kamp <phk@critter.freebsd.dk>, Steve Kargl <sgk@troutmask.apl.washington.edu>, cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, "Greg 'groggy' Lehey" <grog@FreeBSD.ORG>, Jeroen Ruigrok/asmodai <asmodai@wxs.nl>, obrien@FreeBSD.ORG
Subject:   Re: cvs commit: src/sbin/savecore savecore.c
Message-ID:  <xzpads2x6rv.fsf@flood.ping.uio.no>
In-Reply-To: <XFMail.20020416204726.jhb@FreeBSD.org>
References:  <XFMail.20020416204726.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin <jhb@FreeBSD.org> writes:
> On 16-Apr-2002 Poul-Henning Kamp wrote:
> > I wanted to avoid having to open the disk device in RW mode, so the
> > best way to find out if we had already saved a dump was to make
> > a hash of the header and look for that.
> Hmm, I really don't like that.  I find the current scheme of vmcore.XX and
> kernel.XX to be rather intuitive.  For one thing, it makes it very easy to see
> which dump is the most recent.  Why can't you save the hash of the header in
> the core file or something but still keep the filenames usable.  Surely we
> don't have to give up useful filenames for this.

The point is moot anyway, because savecore(8) now opens the device
read-write.  Just revert to the old naming scheme.

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?xzpads2x6rv.fsf>