rhalls Posted January 5, 2008 Share Posted January 5, 2008 my windows ide hd makes problems when available in leo, is there any way, script or something to automatically unmount this drive a startup? Link to comment Share on other sites More sharing options...
00diabolic Posted January 5, 2008 Share Posted January 5, 2008 You should be able to run a script at startup to do this using the terminal diskutil command. I would also like to know the answer to this for reference (so bump) Does anyone know? Link to comment Share on other sites More sharing options...
rhalls Posted January 5, 2008 Author Share Posted January 5, 2008 o.k., it seems i have found something for myself: A apple Script could do the job: tell application "Terminal" activate do script ¬ "diskutil unmount \"/Volumes/volumename to unmount\"" in ¬ window frontmost delay 5 quit end tell Save as programm, add to startupitems. Link to comment Share on other sites More sharing options...
00diabolic Posted January 6, 2008 Share Posted January 6, 2008 Cool so that works for you? THANKS Ill try it. Link to comment Share on other sites More sharing options...
magnat2 Posted June 30, 2008 Share Posted June 30, 2008 Cool so that works for you? THANKS Ill try it. An easy way to do that is installing extfsmanager, select your windows drive an in options select dont automount, that easy:) Link to comment Share on other sites More sharing options...
sigxcpu Posted June 30, 2008 Share Posted June 30, 2008 create the file /etc/fstab an put these line: LABEL=NOMOUNT1 /Volumes/NOMOUNT1 ntfs ro,noauto where NOMOUNT1 should be replaced with the name of your windows volume you should create/edit the /etc/fstab file as root: sudo su - (type your user password here) cat >>/etc/fstab (paste the line above) Ctrl-D reboot the machine and see if it is still mounted. Link to comment Share on other sites More sharing options...
Recommended Posts