2 * amiga-part.h - Structure of amiga partition table
4 * Copyright (C) 2004 Sven Luther <luther@debian.org>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 #define AMIGA_RDB_MAX 16
22 #define AMIGA_ID_RDB 0x5244534B /* 'RDSK' */
23 #define AMIGA_ID_PART 0x50415254 /* 'PART' */
24 #define AMIGA_END 0xffffffff
27 #define AMIGA_LENGTH 1
28 #define AMIGA_PARTITIONS 7
31 #define AMIGA_HEADS 18
32 #define AMIGA_RDBLIMIT 33
35 #define AMIGA_PART_NEXT 4
36 #define AMIGA_PART_FLAGS 8
37 #define AMIGA_PART_LOWCYL 41
38 #define AMIGA_PART_HIGHCYL 42
39 #define AMIGA_PART_DOSTYPE 48
41 #define AMIGA_PART_BOOTABLE 0x1
42 #define AMIGA_PART_NOMOUNT 0x2