逛奔的蜗牛

我不聪明,但我会很努力

   ::  :: 新随笔 ::  ::  :: 管理 ::
From: http://www.macosxhints.com/article.php?story=2009101505134452Ma
Snow Leopard only hintIf you have already installed Rosetta on your Intel Mac in Snow Leopard, you may want to disable it, so as to prevent the system from running PowerPC apps without informing you that they are non-native to your system's architecture. The reason for disabling Rosetta is not so much to save space (as it's only 2.1MB), but more about keeping your system running native apps for higher performance. 

To disable Rosetta, simply run the following command in Terminal:
sudo sysctl -w kern.exec.archhandler.powerpc=/usr/libexec/oah/RosettaNonGrata
To re-enable Rosetta after it's been disabled, just run the following command in Terminal:
sudo sysctl -w kern.exec.archhandler.powerpc=/usr/libexec/oah/translate
These commands set a system environment variable that tells the system which program to run when you try to launch a non-native app: to ask you to install Rosetta, or to run it using Rosetta. 
posted on 2009-10-31 19:15 逛奔的蜗牛 阅读(293) 评论(0)  编辑 收藏 引用 所属分类: Mac

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   博问   Chat2DB   管理