summaryrefslogtreecommitdiff
path: root/sys/arch/loongson/include/disklabel.h
blob: ff4de7b53ede1ad5ababb785e3d1b8850461e6e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* $OpenBSD: disklabel.h,v 1.3 2015/09/30 15:35:30 krw Exp $ */
/* public domain */

/*
 * Standard MBR partition scheme, with the label in the second sector
 * of the OpenBSD partition.
 */

#ifndef _MACHINE_DISKLABEL_H_
#define _MACHINE_DISKLABEL_H_

#define	LABELSECTOR	1	/* sector containing label */
#define	LABELOFFSET	0	/* offset of label in sector */
#define	MAXPARTITIONS	16	/* number of partitions */

#endif /* _MACHINE_DISKLABEL_H_ */