| * Copyright (C) 2009 Karel Zak <kzak@redhat.com> |
| * This file may be redistributed under the terms of the |
| * GNU Lesser General Public License. |
| static int probe_aix_pt(blkid_probe pr, |
| const struct blkid_idmag *mag __attribute__((__unused__))) |
| if (blkid_partitions_need_typeonly(pr)) |
| /* caller does not ask for details about partitions */ |
| ls = blkid_probe_get_partlist(pr); |
| tab = blkid_partlist_new_parttable(ls, "aix", 0); |
| * 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 |
| const struct blkid_idinfo aix_pt_idinfo = |
| .probefunc = probe_aix_pt, |
| { .magic = BLKID_AIX_MAGIC_STRING, .len = BLKID_AIX_MAGIC_STRLEN }, |