1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef _LINUX_GENHD_H
13 #define _LINUX_GENHD_H
15 #include <linux/types.h>
19 DOS_EXTENDED_PARTITION = 5,
20 LINUX_EXTENDED_PARTITION = 0x85,
21 WIN98_EXTENDED_PARTITION = 0x0f,
23 LINUX_SWAP_PARTITION = 0x82,
24 LINUX_RAID_PARTITION = 0xfd,
26 SOLARIS_X86_PARTITION = LINUX_SWAP_PARTITION,
27 NEW_SOLARIS_X86_PARTITION = 0xbf,
29 DM6_AUX1PARTITION = 0x51,
30 DM6_AUX3PARTITION = 0x53,
34 FREEBSD_PARTITION = 0xa5,
35 OPENBSD_PARTITION = 0xa6,
36 NETBSD_PARTITION = 0xa9,
37 BSDI_PARTITION = 0xb7,
38 MINIX_PARTITION = 0x81,
39 UNIXWARE_PARTITION = 0x63,
43 unsigned char boot_ind;
47 unsigned char sys_ind;
48 unsigned char end_head;
49 unsigned char end_sector;
50 unsigned char end_cyl;
51 unsigned int start_sect;
52 unsigned int nr_sects;
53 } __attribute__((packed));