Comment 34 for bug 50437

Revision history for this message
maximilian attems (maks-debian) wrote : Re: [Bug 50437] Re: Resume from hibernation may fail because swap partition UUID does not match /etc/initramfs-tools/conf.d/resume

Hey Martin,

On Wed, Sep 11, 2013 at 11:08:14AM -0000, Martin Pitt wrote:
>
> Cheers, these look nice. That will avoid the pointless 5 s waiting
> during boot.

Thanks for the review, will add this info!

> The only issue now is that you can't choose to entirely
> disable hibernation by creating an empty file or having no file at
> all; not sure how much of an issue that is. Perhaps if the file exists
> and is empty that shold indicate "disable resume", and if the file
> doesn't exist, "automatic resume"?

There is the bootparam "noresume", if you add that to your bootloader
command line no resume is attempted. It overrides any RESUME setting.

I'd assume empty RESUME files could only be created by mistake,
whereas the noresume params exists since looong and is also the
corresponding linux parameter (when no initramfs is at play).

Best,

--
maks