作者andrew43 (apan)
看板MAC
標題[軟體] 自行製作的 ram disc creator
時間Thu May 9 00:26:03 2013
https://docs.google.com/file/d/0B0E2FRIvjDDoRHpnbkFrbkNIT2c/edit?usp=sharing
實際內容只是簡單的 applescript 而已。
主要內容是
diskutil erasevolume HFS+ "ramdisk" `hdiutil attach -nomount ram://SIZE`
其中SIZE是自行指定的。
請大家測試看看,謝謝。
測試環境: OS X 10.6.8
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.117.37.172
※ 編輯: andrew43 來自: 122.117.37.172 (05/09 00:32)
→ willychn33:跳出指定的按鈕不存在正常嗎 05/09 00:35
→ willychn33:似乎不會自動掛載? 05/09 00:35
→ andrew43:不懂, 可否再換個方式問? 05/09 00:36
→ andrew43:我在10.6.8一直按下去是會自動掛的. 05/09 00:36
※ 編輯: andrew43 來自: 122.117.37.172 (05/09 00:37)
→ willychn33:重新開機後也會嗎?? 05/09 00:37
→ andrew43:那當然不行. 這只是個 ram disc 05/09 00:38
→ andrew43:要在登入後自動掛要寫成一另一個program並設定登入執行. 05/09 00:40