W weipim macrumors newbie Original poster Nov 17, 2008 22 0 Oct 16, 2009 #1 Hi there, I have a windows bootcamp drive on my desktop everytime that i logged into my computer, Is there a way to write something in terminal and let the system not mount all the drives on my system? Thanks in advance Wei
Hi there, I have a windows bootcamp drive on my desktop everytime that i logged into my computer, Is there a way to write something in terminal and let the system not mount all the drives on my system? Thanks in advance Wei
calderone Cancelled Aug 28, 2009 3,743 352 Oct 16, 2009 #2 The only way I am aware of is using setfile, which is included in the developer tools. setfile -a V /Volumes/volumetohide killall Finder This will remove it from ALL Finder windows. The only thing I don't know is if it will be able to set that on an NTFS volume. Also, if you didn't mind all the drives being hidden you can change what show on the desktop in Finder preferences. EDIT: I misread the question. The above will hide a mounted drive. I would modify fstab to have it not mount altogether: http://www.tuxfiles.org/linuxhelp/fstab.html
The only way I am aware of is using setfile, which is included in the developer tools. setfile -a V /Volumes/volumetohide killall Finder This will remove it from ALL Finder windows. The only thing I don't know is if it will be able to set that on an NTFS volume. Also, if you didn't mind all the drives being hidden you can change what show on the desktop in Finder preferences. EDIT: I misread the question. The above will hide a mounted drive. I would modify fstab to have it not mount altogether: http://www.tuxfiles.org/linuxhelp/fstab.html
M mathcolo macrumors 6502a Sep 14, 2008 860 16 Boston Oct 16, 2009 #3 You could write an Automator workflow/application to dismount the drive and put it in your Login Items for a simple solution.
You could write an Automator workflow/application to dismount the drive and put it in your Login Items for a simple solution.