nigel at tuxonice.net
Sun Sep 18 00:00:41 EDT 2011
On 18/09/11 13:33, sabakawa wrote:
> I have tried to porting development of the TuxOnIce at other architecture.
> I have a question about do_check_can_resume in process of the work.
> Why does it check "1" ?
> Has processing of HIBERNATE given "1"?
It's using the text returned by /sys/power/tuxonice/image_exists:
-1 means we couldn't find a signature and therefore don't know if we can
resume (might change if retried after drivers are loaded and so on)
0 means a signature was found and there's no image to resume
1 means a signature was found and we can resume
Hope that helps!
Evolution (n): A hypothetical process whereby improbable
events occur with alarming frequency, order arises from chaos, and
no one is given credit.
More information about the TuxOnIce-devel