News for hackers. Stuff that matters.
Re:Ask HN: Why is the Linux community struggling to implemen... by cesarb on Thursday April 08, 2021 @12:11PM (#26740526)
And besides all that, hibernate is fundamentally more complex than sleep. With sleep, when waking up the computer resumes directly to the already loaded operating system in RAM, and the operating system "only" has to restore all the hardware state. With hibernate, the computer does a clean boot of a fresh copy of the operating system, which has to initialize all hardware, read the hibernation image, de-initialize (quiesce and/or power off) all hardware, and finally jump to the copy of the operating system found in the hibernation image, which only then will restore all hardware state.
Re:Ask HN: Why is the Linux community struggling to implemen... by salawat on Thursday April 08, 2021 @03:42PM (#26742861)
On top of that. All that state is written to disk, and if someone else goes romping through where you've written your hibernate state to, you get a corrupted state to restore to.
Re:Ask HN: Why is the Linux community struggling to implemen... by Izkata on Thursday April 08, 2021 @05:26PM (#26743957)
Speaking of disk, on a laptop where hibernate did work, I once ended up with more disk space available than there was in total, because it was mounted through the hibernate and I was using it from another OS. Lucky a reboot fixed that bit of weirdness.