Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2001 23:20:03 -0700 (PDT)
From:      Phil Homewood <pdh@lineo.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/28164: [PATCH] crashdump can trash disklabel/other partitions
Message-ID:  <200106250620.f5P6K3B90675@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/28164; it has been noted by GNATS.

From: Phil Homewood <pdh@lineo.com>
To: Bruce Evans <bde@zeta.org.au>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/28164: [PATCH] crashdump can trash disklabel/other partitions
Date: Mon, 25 Jun 2001 16:15:46 +1000

 Bruce Evans wrote:
 > I think you are just trashing the label becauses it is inside da1s2b, not
 > overrunning da1s2b.
 
 That was a conclusion I was starting to draw, too.
 
 > This is certainly a bug.  The label is write protected
 > in software, but the dump routines don't even know that the label is there.
 
 Should it be there?
 
 > This bug is not seen in most configurations because the dump partition
 > usually starts at a nonzero offset.
 
 Yep.
 
 Is this configuration acceptable ('b' is a swap partition) or should
 it start at non-zero offset? Alas, I can't remember if it was
 /stand/sysinstall or /dev/luser who put it there like that.
 
 > Untested incomplete fixes (the boot block area should also be protected...):
 
 Will test 'em tomorrow and let you know. Thanks.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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