[parted-devel] Suspend2 partition being shown as unknown: Update

Debarshi 'Rishi' Ray debarshi.ray at gmail.com
Wed Nov 8 11:54:57 CET 2006


Ref: http://bugzilla.gnome.org/show_bug.cgi?id=334569

Whenever a system is hibernated or suspended, the swap area which
contains the suspend information has a signature S1SUSPEND[0x00]
instead of the usual SWAPSPACE2, which occupies the last 10 bytes of
the first page of the swap area. If it is a 'old-style' swap then the
original signature is SWAP_SPACE.

>From `man mkswap`:
"Linux  knows  about  two styles of swap areas, old style and new
style.  The last 10 bytes of the first page of the swap area
distinguishes them: old style has 'SWAP_SPACE', new style has
'SWAPSPACE2' as signature."

We are investigating this further...

Happy hacking,
Debarshi
-- 
"India is not, as people keep calling it, an underdeveloped country,
but rather a developed nation in an advanced state of decay."
--Shashi Tharoor



More information about the parted-devel mailing list