+#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
+
+struct prober {
+ volume_id_probe_fn_t prober;
+ const char *name[4];
+};
+
+static const struct prober prober_raid[] = {
+ { volume_id_probe_linux_raid, { "linux_raid", } },
+ { volume_id_probe_ddf_raid, { "ddf_raid", } },
+ { volume_id_probe_intel_software_raid, { "isw_raid", } },
+ { volume_id_probe_lsi_mega_raid, { "lsi_mega_raid", } },
+ { volume_id_probe_via_raid, { "via_raid", } },
+ { volume_id_probe_silicon_medley_raid, { "silicon_medley_raid", } },
+ { volume_id_probe_nvidia_raid, { "nvidia_raid", } },
+ { volume_id_probe_promise_fasttrack_raid, { "promise_fasttrack_raid", } },
+ { volume_id_probe_highpoint_45x_raid, { "highpoint_raid", } },
+ { volume_id_probe_adaptec_raid, { "adaptec_raid", } },
+ { volume_id_probe_jmicron_raid, { "jmicron_raid", } },
+ { volume_id_probe_lvm1, { "lvm1", } },
+ { volume_id_probe_lvm2, { "lvm2", } },
+ { volume_id_probe_highpoint_37x_raid, { "highpoint_raid", } },
+};
+
+static const struct prober prober_filesystem[] = {
+ { volume_id_probe_vfat, { "vfat", } },
+ { volume_id_probe_linux_swap, { "swap", } },
+ { volume_id_probe_luks, { "luks", } },
+ { volume_id_probe_xfs, { "xfs", } },
+ { volume_id_probe_ext, { "ext2", "ext3", "jbd", } },
+ { volume_id_probe_reiserfs, { "reiserfs", "reiser4", } },
+ { volume_id_probe_jfs, { "jfs", } },
+ { volume_id_probe_udf, { "udf", } },
+ { volume_id_probe_iso9660, { "iso9660", } },
+ { volume_id_probe_hfs_hfsplus, { "hfs", "hfsplus", } },
+ { volume_id_probe_ufs, { "ufs", } },
+ { volume_id_probe_ntfs, { "ntfs", } },
+ { volume_id_probe_cramfs, { "cramfs", } },
+ { volume_id_probe_romfs, { "romfs", } },
+ { volume_id_probe_hpfs, { "hpfs", } },
+ { volume_id_probe_sysv, { "sysv", "xenix", } },
+ { volume_id_probe_minix, { "minix", } },
+ { volume_id_probe_ocfs1, { "ocfs1", } },
+ { volume_id_probe_ocfs2, { "ocfs2", } },
+ { volume_id_probe_vxfs, { "vxfs", } },
+ { volume_id_probe_squashfs, { "squashfs", } },
+ { volume_id_probe_netware, { "netware", } },
+};
+