disklabel.h revision 1.3
1/* $NetBSD: disklabel.h,v 1.3 2000/03/24 20:16:27 soren Exp $ */ 2 3#ifndef _MACHINE_DISKLABEL_H_ 4#define _MACHINE_DISKLABEL_H_ 5 6#define LABELSECTOR 1 /* sector containing label */ 7#define LABELOFFSET 0 /* offset of label in sector */ 8#define MAXPARTITIONS 16 9#define RAW_PART 3 10 11/* Pull in MBR partition definitions. */ 12#include <sys/disklabel_mbr.h> 13 14#ifndef __ASSEMBLER__ 15#include <sys/dkbad.h> 16struct cpu_disklabel { 17 struct mbr_partition dosparts[NMBRPART]; 18 struct dkbad bad; 19}; 20#endif 21 22#endif /* _MACHINE_DISKLABEL_H_ */ 23