I'm not sure on the authoritative TOI signature for swap files.. but my
swap file has this.. hope this feed back helps
so I had to change the TOI suspend detection routine to
running 2.6.25 normal TOI for 2.6.25..
if (memcmp(buf, "\xed\xc3\x02\xe9\x53\x50",4) == 0) {
0000000 0002 0080 00d2 0000 0000 0000 0001 0000
0000010 ffff ffff ffff ffff ffff ffff ffff ffff
*
0000400 0001 0000 fd37 0009 0000 0000 825b 7150
0000410 ed2b 354a c7ae 5142 9e43 4934 0000 0000
0000420 0000 0000 0000 0000 0000 0000 0000 0000
*
0000ff0 0000 0000 0000 c3ed e902 5053 4341 3245
0001000 3434 3737 0000 0000 0000 0000 0000 0000
0001010 0000 0000 0000 0000 0000 0000 0000 0000
Damjan wrote:
>>> so I modified my script to to use /lib/udev/vol_id but even vol_id
>>> refuses to recognize the post hibernated swap partition.
>>>
>>> should vol_id at least know how to recognize a TOI swap partition? I
>>> think it should! and should be changed to do so.
>> A patch for vol_id has been submitted to the udev developers and it's
>> inlcuded in udev-120 and more recent.
>
> actually udev-121
> http://git.kernel.org/?p=linux/hotplug/udev.git;a=commit;h=be9c76b4345b36ec40d8b7b22dc687b4042fe56f
>