Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Mac is my daily driver for this very reason, I'm a consultant and I need to frequently grab and go.

I've had Linux on mobile for ages and have yet to have reliable sleep/wake behavior on a dozen machines over the years.

Sleep on Linux works reliably if you run it inside a Mac VM though, FWIW! ;)



Important difference: sleep usually works and is fast. What often does not work is hibernation (recover from disc)


...which is crucial since you don't want to lose your data when closing the lid. (Non-tech-term is on purpose here, since users shouldn't need to know about the difference. Also I believe OSX uses a hybrid approach).


You do not loose your data with both methods as power is used for suspend to RAM.

BTW: OSX has not a "pure" suspend to disc anymore and the default method is suspend to RAM when closing the lid


Parent poster stated "What often does not work is hibernation (recover from disc)".

Which means the user loses data.


Parent poster was me and you do not loose data. Instead it just does not go into hibernation in my case :)


According to a comment in the post it fails when the swap partition is encrypted. However why enable swap with 16 GB of RAM? I've been running without swap for almost 3 years and never had any trouble. If I start approaching the limit I'll buy another 16 GB.


The comment also talks about suspend to disc.


Exactly, the comment in your blog is "suspension to disk does not work if your swap partition is encrypted. This is due to how Ubuntu encrypts your home (ecryptfs) but not due to Linux itself."

I was reporting that.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: