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

H. Peter Anvin
2006-07-06T00:54:59Z

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