Ended up with "switchvol", which is OK, but not great - suggestions?Īctually, it doesn't really matter what I called it because I made a shell alias whose name was the same as the disk, so now I can mount/unmount my iTunes library disk with just a one-word command. I tried "switchmount", but too long and "flipmount", but too hokey. In fact, I was stuck for a name when I put this script in a file on my machine: it mounts the volume if unmounted, and unmounts the volume if mounted, so it "toggles" the mount status of the disk, but "toggle" is a bit weak a word here. And I use the shell a lot, so this is perfect for what I want. There are various little utilities out there for unmounting disks, but I don't think I've seen one that remounts and unmounted one. I like to mount it and dismount it according to whether I'm using it with iTunes or not. I have a large but whiny Firewire drive I use only for my iTunes library. These eject scripts - and the technologies they use - only eject the bash script originally posted also mounts.
0 Comments
Leave a Reply. |