... sau, aproape orice Mac.
http://www.andrewescobar.com/archive/2005/11/11/how-to-safe-sleep-your-mac/
1. Apply Safe Sleep Property
To summarize, new PowerBooks have the “has-safe-sleep” property. To apply this property to your Mac, something needs to be run in Open Firmware at boot. In the Terminal enter the folling, hitting return at the end of each line:sudo nvram nvramrc='" /" select-dev
" msh" encode-string " has-safe-sleep" property
unselect
'
sudo nvram "use-nvramrc?"=trueIn a Terminal shell it should look as follow:
Last login: Fri Nov 11 11:11:11 on ttyp1
Welcome to Darwin!
computer:~ User$ sudo nvram nvramrc='" /" select-dev
> " msh" encode-string " has-safe-sleep" property
> unselect
> '
computer:~ User$ sudo nvram "use-nvramrc?"=trueThe Mac must be restarted to set the changes.
2. Allow Hibernate Mode
To continue, you must have at least as much free disk space as physical memory , plus 750MB. To enable Sleep Safe, in the Terminal enter:sudo pmset -a hibernatemode 3
If you have secure virtual memory enabled, use 7 rather than 3 to disable encrypted hibernation. Encrypted hibernation does not work. Do not set it to 7 if you do not have secure virtual memory.
This should create the file /var/vm/sleepimage.
When your Mac is set to sleep, it will now enter regular Sleep mode (consuming minimal power) first. If you prefer to enter Safe Sleep mode directly (note: it takes a few seconds more to sleep and wake-up) then instead enter:
sudo pmset -a hibernatemode 1
Use 5 with secure virtual memory.
To disable Safe Sleep:
sudo pmset -a hibernatemode 0
The Mac does not need to be restarted to set the changes to hibernate mode.