diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-10-04 00:52:56 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-10-04 00:52:56 +0000 |
commit | 153f77ea55e24ad85f2095b1697636723b718ca2 (patch) | |
tree | 67cb008316638f14def1b489be9e7d3090023963 /sys/arch/amd64/include | |
parent | d527cdf7a9dfcfcb2c3ebcc91972b8a5c98844db (diff) |
Zap bad144 bad sector info in disklabels. Sparsely used if at all for
a few obsolete and easily replaced disk models. And didn't work anyway
according to Bob, who has tried.
ok beck@
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r-- | sys/arch/amd64/include/disklabel.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/amd64/include/disklabel.h b/sys/arch/amd64/include/disklabel.h index f325b8048a6..a326912037d 100644 --- a/sys/arch/amd64/include/disklabel.h +++ b/sys/arch/amd64/include/disklabel.h @@ -1,4 +1,4 @@ -/* $OpenBSD: disklabel.h,v 1.4 2006/07/01 16:50:32 krw Exp $ */ +/* $OpenBSD: disklabel.h,v 1.5 2006/10/04 00:52:55 krw Exp $ */ /* $NetBSD: disklabel.h,v 1.3 1996/03/09 20:52:54 ghudson Exp $ */ /* @@ -84,14 +84,10 @@ struct dos_mbr { #define DOSMBR_SIGNATURE (0xaa55) #define DOSMBR_SIGNATURE_OFF (0x1fe) -#include <sys/dkbad.h> struct cpu_disklabel { struct dos_partition dosparts[NDOSPART]; - struct dkbad bad; }; -#define DKBAD(x) ((x)->bad) - /* Isolate the relevant bits to get sector and cylinder. */ #define DPSECT(s) ((s) & 0x3f) #define DPCYL(c, s) ((c) + (((s) & 0xc0) << 2)) |