Subject: Re: CVS commit: src/sys/kern
To: Reinoud Zandijk <email@example.com>
From: David Laight <firstname.lastname@example.org>
Date: 12/14/2005 21:06:56
On Wed, Dec 14, 2005 at 03:01:03PM +0000, Reinoud Zandijk wrote:
> Module Name: src
> Committed By: reinoud
> Date: Wed Dec 14 15:01:03 UTC 2005
> Modified Files:
> src/sys/kern: subr_disk_mbr.c
> Log Message:
> Fix disklabel recognition code for mbr based systems like i386. It would
> return NULL even though no disklabel was found making callers assume that a
> valid disklabel WAS found but instead were presented by the dummy disklabel
> that is created.
> If the rval is SCAN_CONTINUE it now returns a standard error that no
> disklabel was found instead of the NULL.
Hummm - that was more or less deliberate, IIRC some of the callers
need a disklabel filled in with partition 'a' and 'd' when there
is nothing found on the disk.
David Laight: email@example.com