summaryrefslogtreecommitdiff
path: root/fdisks/fdiskaixlabel.h
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-11-02 20:15:39 +0400
committerIgor Pashev <pashev.igor@gmail.com>2012-11-02 20:15:39 +0400
commitb13154de3eca5ba28fbb4854d916cd0be5febeed (patch)
tree30f2e9e89ab71a2df837076ac68c3ba770230294 /fdisks/fdiskaixlabel.h
downloadutil-linux-upstream/2.22.tar.gz
Imported Upstream version 2.22upstream/2.22upstream
Diffstat (limited to 'fdisks/fdiskaixlabel.h')
-rw-r--r--fdisks/fdiskaixlabel.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/fdisks/fdiskaixlabel.h b/fdisks/fdiskaixlabel.h
new file mode 100644
index 0000000..c3af9a0
--- /dev/null
+++ b/fdisks/fdiskaixlabel.h
@@ -0,0 +1,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 */