1*1e913dd5Skrw /* $OpenBSD: disklabel.h,v 1.11 2015/09/30 14:57:03 krw Exp $ */ 2f5df1827Smickey 3f5df1827Smickey /* 4f5df1827Smickey * Copyright (c) 1994 Christopher G. Demetriou 5f5df1827Smickey * All rights reserved. 6f5df1827Smickey * 7f5df1827Smickey * Redistribution and use in source and binary forms, with or without 8f5df1827Smickey * modification, are permitted provided that the following conditions 9f5df1827Smickey * are met: 10f5df1827Smickey * 1. Redistributions of source code must retain the above copyright 11f5df1827Smickey * notice, this list of conditions and the following disclaimer. 12f5df1827Smickey * 2. Redistributions in binary form must reproduce the above copyright 13f5df1827Smickey * notice, this list of conditions and the following disclaimer in the 14f5df1827Smickey * documentation and/or other materials provided with the distribution. 15f5df1827Smickey * 3. All advertising materials mentioning features or use of this software 16f5df1827Smickey * must display the following acknowledgement: 17f5df1827Smickey * This product includes software developed by Christopher G. Demetriou. 18f5df1827Smickey * 4. The name of the author may not be used to endorse or promote products 19f5df1827Smickey * derived from this software without specific prior written permission 20f5df1827Smickey * 21f5df1827Smickey * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 22f5df1827Smickey * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 23f5df1827Smickey * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 24f5df1827Smickey * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 25f5df1827Smickey * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 26f5df1827Smickey * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27f5df1827Smickey * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28f5df1827Smickey * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29f5df1827Smickey * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30f5df1827Smickey * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31f5df1827Smickey */ 32f5df1827Smickey 33f5df1827Smickey #ifndef _MACHINE_DISKLABEL_H_ 34f5df1827Smickey #define _MACHINE_DISKLABEL_H_ 35f5df1827Smickey 36f5df1827Smickey #define LABELSECTOR 1 /* sector containing label */ 37f5df1827Smickey #define LABELOFFSET 0 /* offset of label in sector */ 38f5df1827Smickey #define MAXPARTITIONS 16 /* number of partitions */ 39f5df1827Smickey 40f5df1827Smickey #endif /* _MACHINE_DISKLABEL_H_ */ 41