Signed-off-by: Karel Zak <kzak@redhat.com>
&adraid_idinfo,
&jmraid_idinfo,
&lvm2_idinfo,
- /* TODO: lvm1 */
+ &lvm1_idinfo,
&luks_idinfo,
/* Filesystems */
}
-/* NOTE: libblkid uses "lvm2pv" as a name */
-
+/* NOTE: the original libblkid uses "lvm2pv" as a name */
const struct blkid_idinfo lvm2_idinfo =
{
.name = "LVM2_member",
}
};
+const struct blkid_idinfo lvm1_idinfo =
+{
+ .name = "LVM1_member",
+ .usage = BLKID_USAGE_RAID,
+ .magics =
+ {
+ { .magic = "HM", .len = 2, .sboff = 0x400 },
+ { NULL }
+ }
+};
+
extern const struct blkid_idinfo udf_idinfo;
extern const struct blkid_idinfo vfat_idinfo;
extern const struct blkid_idinfo lvm2_idinfo;
+extern const struct blkid_idinfo lvm1_idinfo;
extern const struct blkid_idinfo luks_idinfo;
extern const struct blkid_idinfo highpoint37x_idinfo;
extern const struct blkid_idinfo highpoint45x_idinfo;