I have an old internal drive in my G3 All-in-one that I use for backup purposes. The drive makes an awful whining noise, and the first thing I do when I log in is unmount it. I've got a terminal script that runs on login to unmount it immediately (followed by a script to quit terminal), but I'd rather that the drive didn't mount at all.
Does anyone know of a way to "hide" a drive/partition so that it is not mounted automatically, but can still be mounted later? I know of a program called "Drive Genius" which does this, but in a scary way that makes the partition appear unformatted in disk utility.
Many thanks for any ideas.
Edit:Well, after a better keyword search, I found discussions on MacFixit here and here . The best solution seems to be an applescript containing:
do shell script "/usr/sbin/diskutil unmount /Volumes/theVolumeName"
Does anyone know of a way to "hide" a drive/partition so that it is not mounted automatically, but can still be mounted later? I know of a program called "Drive Genius" which does this, but in a scary way that makes the partition appear unformatted in disk utility.
Many thanks for any ideas.
Edit:Well, after a better keyword search, I found discussions on MacFixit here and here . The best solution seems to be an applescript containing:
do shell script "/usr/sbin/diskutil unmount /Volumes/theVolumeName"