Re: [PATCH/RFC] Add support to resume swsusp from initrd

From: Stefan Seyfried
Date: Mon Dec 06 2004 - 06:05:20 EST


Pavel Machek wrote:

>>echo -n "set 03:02" >/sys/power/resume
>
> I'd prefer not to have this one. Is it actually usefull? Then resume
> could be triggered by echo -n "03:02" > /sys/power/resume...

This could be made into a useful interface:

echo "set 03:02" > /sys/power/resume
sets the resume device _and_ verifies its signature etc, the basic
sanity check done before resume. If this fails, we can go into some
interactive setup etc.
OTOH, the "resume 03:02" could also just fail if the image is invalid...

Stefan

-
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/