- volume_id_set_label_raw(id, sw->volume_name, 16);
- volume_id_set_label_string(id, sw->volume_name, 16);
- volume_id_set_uuid(id, sw->uuid, UUID_DCE);
- goto found;
+ goto found_label;
+ }
+
+ if (memcmp(buf, "S1SUSPEND", 9) == 0) {
+ id->type = "suspend";
+ strcpy(id->type_version, "s1suspend");
+ goto found_label;
+ }
+
+ if (memcmp(buf, "ULSUSPEND", 9) == 0) {
+ id->type = "suspend";
+ strcpy(id->type_version, "ulsuspend");
+ goto found_label;
+ }
+
+ if (memcmp(buf, "\xed\xc3\x02\xe9\x98\x56\xe5\x0c", 8) == 0) {
+ id->type = "suspend";
+ strcpy(id->type_version, "tuxonice");
+ goto found_label;