3 ms·
Personal hot take: It's super hard and no one cares very much. With SSDs, booting is fast. Most apps that I care about which have complex state (browser, IDE)
by hospadar 6y ago
Personal hot take: It's super hard and no one cares very much.
With SSDs, booting is fast. Most apps that I care about which have complex state (browser, IDE) do a much better job of saving their state than the OS can do (browsers & IDEs can and do easily restore sessions, etc).
- jules 6y agoFor a laptop it is important to be able to close the lid, go to zero power state after X minutes, then resume where you left off.
- mordae 6y agoIs it? I find that sleep usually works well enough. I've never once needed to hibernate in the past... well... 7 years?
- pkulak 6y agoPlus, with full-disk encryption, I don't want my key getting written to disk so that anyone can get it until the end of time. I'm okay with my laptop powering down fully after sleeping for some amount of time.
- eMGm4D0zgUAVXc7 6y agoIf you use a swap file on the encrypted root partition then initramfstools will actually ask you to enter the password before it can resume from hibernation - the file is encrypted like everything else on the partition.