On Fri, Dec 27, 2013 at 09:27:18PM +0100, Rodolfo García Peñas wrote:
> 
> I don't agree :-)
> 
> Yes, the file /usr/share/initramfs-tools/scripts/local-premount/uswsusp
> belongs to uswsusp. The script checks if the $resume variable is set. If is
> set, then the script calls /sbin/resume to load the save image. If is not
> set, is because the system was not hibernated (normal boot).
> 
> But it doesn't mean that the resume variable is set as kernel parameter.

To my understanding /proc/cmdline is used to parse the variables
in the init script parameters, but let's not be picky about it.

[...]
> If the variable resume was set, with the noresume option as kernel parameter,
> is unset.

I think I understand the resulting semantics of the scripts. My
point is more but I preferred the old behaviour, and changing
user visible behaviour without a mentioning it somewhere
prominently is what I would call a regression.

Esp. since if you boot without resuming once, you have no chance
to resume to the old state again, since the swap device is
overwritten, which can be quite unpleasant.

Bye,

Joerg

Attachment: signature.asc
Description: Digital signature

Reply via email to