How can I disable the suspend to disk function on my MacBook Pro

To disable Safe Sleep:

$ sudo pmset -a hibernatemode 0
$ sudo nvram "use-nvramrc?"=false

Further details can be found at http://www.normalesup.org/~martinez/macosx/, Including how to enable it again.


I use the SmartSleep preference pane.