#include <ctype.h>
#include "libvolume_id.h"
+#include "libvolume_id-private.h"
#include "util.h"
struct swap_header_v1_2 {
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;
+ }
}
return -1;