summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2005-12-22 03:02:49 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2005-12-22 03:02:49 +0000
commit7073660ccb208705ca4f7a9a904281226199b00e (patch)
treeb5166ed14278f3fa73f97a39977acde1dcf93805 /sys/arch/hppa
parentf75269fefeabcb37f1d4afb80af03b86acc4cd87 (diff)
'spoofonly' does not mean what I thought it meant. The whole point is
to read non-OpenBSD label information like MBRs and populate ('spoof') the OpenBSD disk label appropriately. So avoiding an I/O when doing 'spoofonly' is to miss the whole point. Backout all Sept. 26 and subsequent changes to disksubr.c files. The original CD problem with I/O errors on blank media will be addressed another way. Should fix the ext3 vs amd64 problems discussed on misc@. Thanks to steven@ for finally putting it terms that I understood. ok deraadt@
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/hppa/disksubr.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/hppa/hppa/disksubr.c b/sys/arch/hppa/hppa/disksubr.c
index 82a5a52a21c..dda6a061762 100644
--- a/sys/arch/hppa/hppa/disksubr.c
+++ b/sys/arch/hppa/hppa/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.19 2005/09/27 23:56:11 krw Exp $ */
+/* $OpenBSD: disksubr.c,v 1.20 2005/12/22 03:02:48 krw Exp $ */
/*
* Copyright (c) 1999 Michael Shalayeff
@@ -386,11 +386,6 @@ readdoslabel(bp, strat, lp, osdep, partoffp, cylp, spoofonly)
if (part_blkno < extoff)
part_blkno = extoff;
- if (spoofonly) {
- bzero(dp, NDOSPART * sizeof(*dp));
- goto donot;
- }
-
/* read boot record */
bp->b_blkno = part_blkno;
bp->b_bcount = lp->d_secsize;