summaryrefslogtreecommitdiff
path: root/fdisks/fdiskaixlabel.h
blob: c3af9a0e3edb14533b52216f6e8453ad0df990fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef FDISK_AIX_LABEL_H
#define FDISK_AIX_LABEL_H

#include <stdint.h>
/*
 * Copyright (C) Andreas Neuper, Sep 1998.
 *	This file may be redistributed under
 *	the terms of the GNU Public License.
 */

struct aix_partition {
	unsigned int   magic;        /* expect AIX_LABEL_MAGIC */
	unsigned int   fillbytes1[124];
	unsigned int   physical_volume_id;
	unsigned int   fillbytes2[124];
};

#define	AIX_LABEL_MAGIC		0xc9c2d4c1
#define	AIX_LABEL_MAGIC_SWAPPED	0xc1d4c2c9
#define	AIX_INFO_MAGIC		0x00072959
#define	AIX_INFO_MAGIC_SWAPPED	0x59290700

/* fdiskaixlabel.c */
extern struct	systypes aix_sys_types[];
#endif /* FDISK_AIX_LABEL_H */