Go to file
chris 906b93ef09 Fix for cd disklabel issues on arm machines.
Because we no longer return an error message when no disklabel was found
the scsipi/cd.c code took the label we generated.  The problem is that the
readdisklabel code was clearing the partition information, which included
the default partition information setup by the cd.c code.  Previously when
no disklabel was found we returned an error, which caused the cd.c code to
generate a new default label which included an a partition.

According to the man page for readdisklabel:
Unspecified fields in lp should be set to zero

Therefore we have no reason to clear the partition info, as it's already
clear or contains useful default partition info.

This means if we don't find a label on disk, the default label is left as
is.  I would expect the driver to have setup a much more sensible default
label than we could fake at this level.

Also don't hard code the number of partitions to the maximum.  This better
matches other platforms (i386)
2004-09-26 11:57:53 +00:00
bin Keep track of the length of the gnu long name/link hack, so that 2004-09-22 15:03:18 +00:00
contrib/sys Finalize import of the Atheros HAL 0.9.9.13, bringing ath(4) 2004-07-28 08:57:40 +00:00
crypto Merge in changes between 0.6.2 and 0.6.3 2004-09-14 08:08:19 +00:00
dist conflict therapy 2004-09-16 13:49:07 +00:00
distrib Fix typo in hp700 man page name, reported by Hisashi T Fujinaka. 2004-09-24 18:22:40 +00:00
doc I'll handle spc(4) SCSI. 2004-09-25 12:50:26 +00:00
etc Dig {cat,man,html}4/hp700. 2004-09-24 13:47:46 +00:00
games Don't try to catch SIGSTOP... 2004-09-12 04:51:32 +00:00
gnu From otto@OpenBSD: 2004-09-09 22:23:29 +00:00
include update heimdal version to Heimdal 0.6.3 2004-09-14 20:30:57 +00:00
lib wctomb isn't supposed to set errno. 2004-09-26 00:51:39 +00:00
libexec Fix off by one reported by David A. Holland in PR bin/26778. 2004-09-15 08:44:02 +00:00
regress copyright notice. 2004-09-26 03:50:16 +00:00
rescue Complete removal of "liboverride" to fix build problems. 2004-08-20 11:01:03 +00:00
sbin Improve formatting. 2004-09-25 12:44:25 +00:00
share Remove repeated "in the" 2004-09-25 19:11:02 +00:00
sys Fix for cd disklabel issues on arm machines. 2004-09-26 11:57:53 +00:00
tools Add code to extract make vars for GCC crtstuff. 2004-08-24 20:24:43 +00:00
usr.bin Sync usage with man page (sort, add -O). 2004-09-25 21:48:15 +00:00
usr.sbin Change the log that is produced when the maximum spawn count per 2004-09-14 17:42:31 +00:00
x11 + add arch specific flags for ati driver should resolve pr#25918 2004-09-18 06:49:27 +00:00
build.sh Remove trailing / in pathname. 2004-08-17 14:00:30 +00:00
BUILDING regen (Document -h. From Karsten Kruse in PR 25974. 2004-06-25 15:04:20 +00:00
Makefile DO do-gnu-lib-crtstuff${LIBGCC_EXT} only when ${HAVE_GCC3} != "no", 2004-09-02 02:02:38 +00:00
Makefile.inc
UPDATING postinstall currently does not migrate /usr/X11R6/lib/X11/* -> /etc/X11/* 2004-08-15 16:02:59 +00:00