{"id":148,"date":"2008-12-18T19:58:48","date_gmt":"2008-12-18T11:58:48","guid":{"rendered":"http:\/\/blog.pighead.cc\/whsyu\/?p=148"},"modified":"2010-01-27T11:06:15","modified_gmt":"2010-01-27T03:06:15","slug":"macosx-sae-sleep","status":"publish","type":"post","link":"https:\/\/blog.pighead.cc\/whsyu\/2008\/12\/18\/macosx-sae-sleep\/","title":{"rendered":"Mac OS X \u7684 Safe Sleep"},"content":{"rendered":"<p class=\"bb-post-separator\"><strong>[\u5ba2\u5bb6\u8a71, hak-Hant-TW]  <\/strong><\/p><p>Mac OS X \u5728\u63db x86 \u904e\u5f8c\uff0c\u52a0\u4e86\u4e00\u8457\u65b0\u7684\u529f\u80fd &#8211; \u9032\u5230\u7761\u7720\u6a21\u5f0f\u90a3\u4e0b\u540c\u6642\u628a\u8a18\u61b6\u9ad4\u6574\u8457\u5beb\u5230\u786c\u789f\u88e1\u9762\uff0c\u662f\u8b1b\u6c92\u6ce8\u610f\u5230\u7761\u5230\u6c92\u96fb\u90a3\u4e0b\u9084\u6709\u6a5f\u6703\u53ef\u4ee5\u5f9e\u786c\u789f\u5fa9\u539f\u8a18\u61b6\u9ad4\u7684\u5167\u5bb9\uff0c\u8f03\u6162\u4e0d\u904e\u8cc7\u6599\u9084\u5728\u3002\u662f\u9084\u6709\u96fb\u5c31\u4e0d\u9700\u7528\u5230\u9019\uff0c\u7761\u9192\u5c31\u6703\u5f88\u5feb\uff0c\u9019\u5c31\u662f Safe Sleep\uff0c\u548c\u50b3\u7d71\u7684 Sleep \u5dee\u5c31\u5dee\u5728\u6709\u5beb\u5230\u786c\u789f\u7121\u3002\u9019\u529f\u80fd\u662f\u4e0d\u6703\u5dee\u5566\uff0c\u4e0d\u904e\u9019\u4e0b\u8a18\u61b6\u9ad4\u4fbf\u5b9c\uff0c\u52a0\u904e\u4ee5\u5f8c\u96a8\u4fbf\u4e5f\u662f 3G\u30014G\uff0c\u5168\u90e8\u5beb\u5230\u786c\u789f\u8981\u82b1\u5f88\u591a\u6642\u9593\uff0cMacBook Pro \u84cb\u4e0a\u8981\u7b49\u5f88\u4e45\u624d\u53ef\u4ee5\u79fb\u52d5\uff0c\u5c31\u60f3\u628a\u4ed6\u95dc\u6389\u3002\u627e\u4e86\u4e00\u4e0b\u770b\u5230<a href=\"http:\/\/www.macosxhints.com\/article.php?story=20070302210328928\">\u9019\u908a<\/a>\u6709\u4eba\u8b1b\u8981\u5982\u4f55\u95dc\u6389 Safe Sleep:<\/p>\n<pre lang=\"bash\">\r\n# pmset -a hibernatemode 0\r\n# nvram \"use-nvramrc?\"=false\r\n<\/pre>\n<p>\u00a0<br \/>\n\u662f\u8981\u6253\u958b\u5c31\u63db\u9019\u8457:<\/p>\n<pre lang=\"bash\">\r\n# pmset -a hibernatemode 3\r\n# nvram \"use-nvramrc?\"=true\r\n<\/pre>\n<p>\u9019\u6a23\u5c31\u505a\u5f97\u5207\u63db\u4e86\uff0c\u662f\u8981\u95dc\u6389\u9084\u53ef\u4ee5\u780d\u6389 \/var\/vm\/sleepimage\uff0c\u7701\u4e00\u4e9b\u4ed4\u786c\u789f\u7a7a\u9593\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[\u5ba2\u5bb6\u8a71, hak-Hant-TW] Mac OS X \u5728\u63db x86 \u904e\u5f8c\uff0c\u52a0\u4e86\u4e00\u8457\u65b0\u7684\u529f\u80fd &#8211; \u9032\u5230\u7761\u7720\u6a21\u5f0f\u90a3\u4e0b\u540c\u6642\u628a\u8a18\u61b6\u9ad4\u6574\u8457\u5beb\u5230\u786c\u789f\u88e1\u9762\uff0c\u662f\u8b1b\u6c92\u6ce8\u610f\u5230\u7761\u5230\u6c92\u96fb\u90a3\u4e0b\u9084\u6709\u6a5f\u6703\u53ef\u4ee5\u5f9e\u786c\u789f\u5fa9\u539f\u8a18\u61b6\u9ad4\u7684\u5167\u5bb9\uff0c\u8f03\u6162\u4e0d\u904e\u8cc7\u6599\u9084\u5728\u3002\u662f\u9084\u6709\u96fb\u5c31\u4e0d\u9700\u7528\u5230\u9019\uff0c\u7761\u9192\u5c31\u6703\u5f88\u5feb\uff0c\u9019\u5c31\u662f Safe Sleep\uff0c\u548c\u50b3\u7d71\u7684 Sleep \u5dee\u5c31\u5dee\u5728\u6709\u5beb\u5230\u786c\u789f\u7121\u3002\u9019\u529f\u80fd\u662f\u4e0d\u6703\u5dee\u5566\uff0c\u4e0d\u904e\u9019\u4e0b\u8a18\u61b6\u9ad4\u4fbf\u5b9c\uff0c\u52a0\u904e\u4ee5\u5f8c\u96a8\u4fbf\u4e5f\u662f 3G\u30014G\uff0c\u5168\u90e8\u5beb\u5230\u786c\u789f\u8981\u82b1\u5f88\u591a\u6642\u9593\uff0cMacBook Pro \u84cb\u4e0a\u8981\u7b49\u5f88\u4e45\u624d\u53ef\u4ee5\u79fb\u52d5\uff0c\u5c31\u60f3\u628a\u4ed6\u95dc\u6389\u3002\u627e\u4e86\u4e00\u4e0b\u770b\u5230\u9019\u908a\u6709\u4eba\u8b1b\u8981\u5982\u4f55\u95dc\u6389 Safe Sleep: # pmset -a hibernatemode 0 # nvram &#8220;use-nvramrc?&#8221;=false \u00a0 \u662f\u8981\u6253\u958b\u5c31\u63db\u9019\u8457: # pmset -a hibernatemode 3 # nvram &#8220;use-nvramrc?&#8221;=true \u9019\u6a23\u5c31\u505a\u5f97\u5207\u63db\u4e86\uff0c\u662f\u8981\u95dc\u6389\u9084\u53ef\u4ee5\u780d\u6389 \/var\/vm\/sleepimage\uff0c\u7701\u4e00\u4e9b\u4ed4\u786c\u789f\u7a7a\u9593\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49],"tags":[168,212],"class_list":["post-148","post","type-post","status-publish","format-standard","hentry","category-mac","tag-mac-os-x","tag-safe-sleep"],"_links":{"self":[{"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/posts\/148","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/comments?post=148"}],"version-history":[{"count":7,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/posts\/148\/revisions"}],"predecessor-version":[{"id":698,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/posts\/148\/revisions\/698"}],"wp:attachment":[{"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/media?parent=148"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/categories?post=148"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/tags?post=148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}