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

From: H. Peter Anvin
Date: Wed Jul 05 2006 - 20:53:22 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/