The copy-on-write area of device-mapper snapshot has
SnAp identifier, disk header is written directly by kernel.
[kzak@redhat.com: - rename from "snap_cow" to "DM_snapshot_cow"]
Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
&jmraid_idinfo,
&lvm2_idinfo,
&lvm1_idinfo,
+ &snapcow_idinfo,
&luks_idinfo,
/* Filesystems */
}
};
-
+const struct blkid_idinfo snapcow_idinfo =
+{
+ .name = "DM_snapshot_cow",
+ .usage = BLKID_USAGE_OTHER,
+ .magics =
+ {
+ { .magic = "SnAp", .len = 4 },
+ { NULL }
+ }
+};
extern const struct blkid_idinfo hpfs_idinfo;
extern const struct blkid_idinfo lvm2_idinfo;
extern const struct blkid_idinfo lvm1_idinfo;
+extern const struct blkid_idinfo snapcow_idinfo;
extern const struct blkid_idinfo luks_idinfo;
extern const struct blkid_idinfo highpoint37x_idinfo;
extern const struct blkid_idinfo highpoint45x_idinfo;