change disklabel to

16 partition.
 no bsd area of the disk.
This commit is contained in:
uch 2002-05-22 15:01:33 +00:00
parent f2679ef4e3
commit ba28fa4dc2
1 changed files with 3 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: disklabel.h,v 1.3 2002/04/28 17:10:34 uch Exp $ */
/* $NetBSD: disklabel.h,v 1.4 2002/05/22 15:01:33 uch Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@ -35,8 +35,8 @@
#define LABELSECTOR 1 /* sector containing label */
#define LABELOFFSET 0 /* offset of label in sector */
#define MAXPARTITIONS 8 /* number of partitions */
#define RAW_PART 3 /* raw partition: XX?d (XXX) */
#define MAXPARTITIONS 16 /* number of partitions */
#define RAW_PART 2
/* Pull in MBR partition definitions. */
#include <sys/disklabel_mbr.h>
@ -49,9 +49,4 @@ struct cpu_disklabel {
};
#endif
#ifdef _KERNEL
struct disklabel;
int bounds_check_with_label(struct buf *, struct disklabel *, int);
#endif
#endif /* _MACHINE_DISKLABEL_H_ */