Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

rmger

macrumors member
Original poster
Jan 26, 2013
34
0
OS X v. 10.8.2

pmset -g
Code:
standbydelay	86400
hibernatemode	0
....
I removed sleepimage, but after some time /private/var/vm/sleepimage appears again. Bug?
 
Last edited by a moderator:
Did you disable it with sudo pmset -a hibernatemode 0 ?

If you don't then it will re-appear
 
OS X v. 10.8.2

pmset -g
Code:
standbydelay	86400
hibernatemode	0
....
I removed sleepimage, but after some time /private/var/vm/sleepimage appears again. Bug?

Sorry, move this topic in https://forums.macrumors.com/forums/155/.

10.8.2 changed the way this worked, and removing the sleep image is not enough (for some stupid reason). After removing the sleep image, create a new file there, and make it unmodifiable:

Code:
sudo pmset -a hibernatemode 0
sudo rm /private/var/vm/sleepimage
sudo touch /private/var/vm/sleepimage
sudo chflags uchg /private/var/vm/sleepimage
 
Did you disable it with sudo pmset -a hibernatemode 0 ?
Yes.

10.8.2 changed the way this worked, and removing the sleep image is not enough (for some stupid reason). After removing the sleep image, create a new file there, and make it unmodifiable:

Code:
sudo pmset -a hibernatemode 0
sudo rm /private/var/vm/sleepimage
sudo touch /private/var/vm/sleepimage
sudo chflags uchg /private/var/vm/sleepimage

Yes, this solved the problem. I'm doing this to optimize SSD.
 
10.8.2 changed the way this worked, and removing the sleep image is not enough (for some stupid reason). After removing the sleep image, create a new file there, and make it unmodifiable:

Code:
sudo pmset -a hibernatemode 0
sudo rm /private/var/vm/sleepimage
sudo touch /private/var/vm/sleepimage
sudo chflags uchg /private/var/vm/sleepimage

I noticed this problem with the reappearing sleepimage today and got somewhat frustrated. Glad I could go right here to these excellent forums and get a workaround. Thanks!
 
Hi

For me (Mac Mini Late 2012) none of the above solutions work. Only when I entered

sudo pmset -a hibernatefile /dev/null/sleepimage

(or what ever you like as name of the image), everything is working now as I expect and like it.

Regards
Lazy
 
holy crap I made a thread about this two days ago and got flamed to **** over it. Good to see it is an actual issue and my question was valid, thanks for the responses everyone.

----------

Code:
sudo pmset -a hibernatemode 0
sudo rm /private/var/vm/sleepimage
sudo touch /private/var/vm/sleepimage
sudo chflags uchg /private/var/vm/sleepimage

Thank you very very much!
 
holy crap I made a thread about this two days ago and got flamed to **** over it. Good to see it is an actual issue and my question was valid, thanks for the responses everyone.

----------



Thank you very very much!

Yeah, in 10.8.2 Apple changed how sleep image is dealt with. And I can't imagine writing 16GB to the SSD every time my laptop sleeps would do any good for the SSDs longevity.
 
Yeah, in 10.8.2 Apple changed how sleep image is dealt with. And I can't imagine writing 16GB to the SSD every time my laptop sleeps would do any good for the SSDs longevity.

yeh mine was writing 2.4GB and i was pretty annoyed about that. What a silly move by Apple.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.