mrbonkers Posted March 21, 2007 Share Posted March 21, 2007 how do i auto-unmount a disk? i remember reading it somewhere but i cant seem to find it. i only can remember "rc.local". Thank you Link to comment https://www.insanelymac.com/forum/topic/45968-auto-unmount-disk/ Share on other sites More sharing options...
tuxuser33 Posted March 22, 2007 Share Posted March 22, 2007 For a workaround look here: (don't know if anybody found a real hack) http://www.macosxhints.com/article.php?sto...060218083814209 a little AppleScript: tell application "Terminal" activate do script ¬ "diskutil unmount \"/Volumes/volumename to unmount\"" in ¬ window frontmost delay 5 quit end tell ---------------------------- possibly a cronjob can do the job (call a script at a given time) edit: follow this: http://forum.insanelymac.com/index.php?sho...c=23056&hl=[How+To]+Auto-Mount+only+selected+partitions.+Two+Methods Link to comment https://www.insanelymac.com/forum/topic/45968-auto-unmount-disk/#findComment-329434 Share on other sites More sharing options...
Recommended Posts