MrDee Posted July 4, 2006 Share Posted July 4, 2006 Does anybody know how to show only one disk drive on the OS X desktop? I am multi-booting with XP x86, x64, Server 2003 x86, x64, Vista x64 and all the disk drive icons show on the desktop. I just want one disk drive icon on the desktop -> Macintosh HD. I notice its a case of all or nothing. Thanks for any help you can provide. Link to comment https://www.insanelymac.com/forum/topic/21134-show-only-one-disk-drive-on-desktop/ Share on other sites More sharing options...
DucPilot1 Posted July 14, 2006 Share Posted July 14, 2006 Any luck on this? I would also like to not auto mount my other OS drives. Apearently OS X doesn't use /etc/fstab as it is blank. What does it use? Link to comment https://www.insanelymac.com/forum/topic/21134-show-only-one-disk-drive-on-desktop/#findComment-145009 Share on other sites More sharing options...
sandmanfvrga Posted July 15, 2006 Share Posted July 15, 2006 I think the only way to do this is to NOT automount any drives and just put alias (shortcuts) on the desktop. Link to comment https://www.insanelymac.com/forum/topic/21134-show-only-one-disk-drive-on-desktop/#findComment-145072 Share on other sites More sharing options...
DucPilot1 Posted July 31, 2006 Share Posted July 31, 2006 I figured out a way to accomplish this with a login script. create a login script similar to : #!/bin/bash umount /Volumes/drive1 umount /Volumes/drive2 exit 0 where drive1 and drive2 are the names of the partitions you don't want mounted. I created a folder for shell scripts and keep them all in /Library/scripts, however location doesn't really matter. You do need to ensure that the script is executable. In a terminal : sudo chmod u+x /path/to/your/scripts/loginscript.sh Then just add the script to run as a loginhook. in Terminal sudo defaults write com.apple.loginwindow LoginHook /path/to/your/scripts/loginscript.sh Close the terminal, logout and back in and the drives should be gone. Link to comment https://www.insanelymac.com/forum/topic/21134-show-only-one-disk-drive-on-desktop/#findComment-152722 Share on other sites More sharing options...
domino Posted July 31, 2006 Share Posted July 31, 2006 DucPilot1, Your how-to is the second one I can confirm that works. I think yours is the easiest to implement. Can you please start a new thread over at the the Tutorial Forum with your instructions. I have seen far too many of these posts. http://forum.insanelymac.com/index.php?showforum=45 And might I suggest instructing the read to create a new script using nano or pico? eg. sudo nano /Library/scripts/umount Before you continue with the rest of your how-to. thanks, D~ Link to comment https://www.insanelymac.com/forum/topic/21134-show-only-one-disk-drive-on-desktop/#findComment-152748 Share on other sites More sharing options...
Recommended Posts