Subject: CVS commit: src/sys/arch/arm/arm
To: None <source-changes@NetBSD.org>
From: Chris Gilbert <chris@netbsd.org>
List: source-changes
Date: 09/25/2004 18:24:56
Module Name:	src
Committed By:	chris
Date:		Sat Sep 25 18:24:56 UTC 2004

Modified Files:
	src/sys/arch/arm/arm: disksubr.c

Log Message:
When reading the disklabel if we fail to find one, return an error.

This should fix PR's 26564 and 26809.

This allows CD installs on cats to work, as a cdxa partition is now
faked, so sysinst can mount it.

This does go against changes made for PR 21408, as it will cause the error
cd0: no disk label
to appear when running disklabel cd0.

Really readdisklabel's API should be updated to allow better error returns,
such that the driver can choose to fake the label, if readdisklabel didn't
find one.


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 src/sys/arch/arm/arm/disksubr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.