On Thu 2016-07-07 14:40:58, Chen Yu wrote:
> This mode is to verify if the snapshot data written to
> swap device can be successfully restored to memory. It
> is useful to ease the debugging process on hibernation,
> since this mode can not only bypass the BIOSen/bootloader,
> but also the system re-initialization.
> 
> For example:
> $ sudo echo snapshot > /sys/power/disk
> $ sudo echo disk > /sys/power/state
> 
> /* manual resume.*/
> $ sudo echo 8:3 > /sys/power/resume

Your examples will not work, will they?

This is also quite tricky/dangerous. If you do this with filesystems
mounted R/W, it is "good bye, filesystems".

I guess updating documentation would be welcome from my side,
otherwise it should be ok.

Acked-by: Pavel Machek <[email protected]>

Best regards,
                                                                Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) 
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Reply via email to