summaryrefslogtreecommitdiffstats
path: root/libblkid/aix.c
diff options
context:
space:
mode:
authorbigbiff <bigbiff@teamw.in>2015-01-02 01:44:14 +0100
committerDees Troy <dees_troy@teamw.in>2015-01-05 04:38:42 +0100
commit7b4c7a681cc4c0a53dc8a8baf4853e921cfbf5de (patch)
treefb69cb515cb4ab675d5850684cc402100b7a2a22 /libblkid/aix.c
parentcrypto: remove unused libs and clean up makefile (diff)
downloadandroid_bootable_recovery-7b4c7a681cc4c0a53dc8a8baf4853e921cfbf5de.tar
android_bootable_recovery-7b4c7a681cc4c0a53dc8a8baf4853e921cfbf5de.tar.gz
android_bootable_recovery-7b4c7a681cc4c0a53dc8a8baf4853e921cfbf5de.tar.bz2
android_bootable_recovery-7b4c7a681cc4c0a53dc8a8baf4853e921cfbf5de.tar.lz
android_bootable_recovery-7b4c7a681cc4c0a53dc8a8baf4853e921cfbf5de.tar.xz
android_bootable_recovery-7b4c7a681cc4c0a53dc8a8baf4853e921cfbf5de.tar.zst
android_bootable_recovery-7b4c7a681cc4c0a53dc8a8baf4853e921cfbf5de.zip
Diffstat (limited to '')
-rw-r--r--libblkid/aix.c59
1 files changed, 0 insertions, 59 deletions
diff --git a/libblkid/aix.c b/libblkid/aix.c
deleted file mode 100644
index de397bf4a..000000000
--- a/libblkid/aix.c
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * aix partitions
- *
- * Copyright (C) 2009 Karel Zak <kzak@redhat.com>
- *
- * This file may be redistributed under the terms of the
- * GNU Lesser General Public License.
- */
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
-#include <stdint.h>
-
-#include "partitions.h"
-#include "aix.h"
-
-static int probe_aix_pt(blkid_probe pr,
- const struct blkid_idmag *mag __attribute__((__unused__)))
-{
- blkid_partlist ls;
- blkid_parttable tab;
-
- if (blkid_partitions_need_typeonly(pr))
- /* caller does not ask for details about partitions */
- return 0;
-
- ls = blkid_probe_get_partlist(pr);
- if (!ls)
- goto err;
-
- tab = blkid_partlist_new_parttable(ls, "aix", 0);
- if (!tab)
- goto err;
-
- return 0;
-err:
- return -1;
-}
-
-/*
- * We know nothing about AIX on-disk structures. Everything what we know is the
- * magic number at begin of the disk.
- *
- * Note, Linux kernel is tring to be smart and AIX signature is ignored when
- * there is a valid DOS partitions table. We don't support such behaviour. All
- * fdisk-like programs has to properly wipe the fist sector. Everything other
- * is a bug.
- */
-const struct blkid_idinfo aix_pt_idinfo =
-{
- .name = "aix",
- .probefunc = probe_aix_pt,
- .magics =
- {
- { .magic = BLKID_AIX_MAGIC_STRING, .len = BLKID_AIX_MAGIC_STRLEN },
- { NULL }
- }
-};
-