[klibc] [klibc 30/31] Remove in-kernel resume-from-disk invocation code

H. Peter Anvin hpa at zytor.com
Wed Jul 5 17:54:52 PDT 2006


Nigel Cunningham wrote:
> 
> Ah. So it's still valid to have resume= and noresume on the commandline, and 
> klibc greps /proc/cmdline?
> 

Correct.

> So, for Suspend2, would I be ok just leaving people to add the echo 
>>/proc/suspend2/do_resume, as we currently do for initrds and initramfses?

Well, presumably you want to adjust kinit so that it invokes 
/proc/suspend2/do_resume, instead of or in addition to 
/sys/power/resume; see usr/kinit/resume.c (the code should be bloody 
obvious, I hope...)

	-hpa



More information about the klibc mailing list