2000-03-22 23:38:05 +03:00
|
|
|
/* $NetBSD: disklabel.h,v 1.2 2000/03/22 20:38:05 soren Exp $ */
|
2000-03-20 02:07:43 +03:00
|
|
|
|
2000-03-22 23:38:05 +03:00
|
|
|
#define LABELSECTOR 1 /* sector containing label */
|
|
|
|
#define LABELOFFSET 0 /* offset of label in sector */
|
2000-03-20 02:07:43 +03:00
|
|
|
#define MAXPARTITIONS 16
|
|
|
|
#define RAW_PART 3
|
|
|
|
|
|
|
|
/* Pull in MBR partition definitions. */
|
|
|
|
#include <sys/disklabel_mbr.h>
|
|
|
|
|
|
|
|
#ifndef __ASSEMBLER__
|
|
|
|
#include <sys/dkbad.h>
|
|
|
|
struct cpu_disklabel {
|
2000-03-22 23:38:05 +03:00
|
|
|
struct mbr_partition dosparts[NMBRPART];
|
2000-03-20 02:07:43 +03:00
|
|
|
struct dkbad bad;
|
|
|
|
};
|
|
|
|
#endif
|