How do I stop my external hard drives from changing disk IDs when I reboot on OS X?
August 14, 2009 8:08 PM
Subscribe
How do I stop my external hard drives from changing disk IDs when I reboot on OS X?
I have a simple rsync script that I just made for my OS X machine to backup data on my two main drives to two drives in an external enclosure. I wanted the script to mount and unmount the drives so that they wouldn't clutter my desktop and to keep them "hidden".
The problem is that the disk ID under /dev changes everytime I reboot. Sometimes the drive mounted at /Volumes/backup1 will be at /dev/disk3s3 and sometimes it will be at /dev/disk4s3. Other times it will be at /dev/disk2s3.
Is there anyway to keep the disk ID static, or to just mount by the directory name? I'm running 10.5.8, with the latest updates. My script uses the `diskutil`command to mount and unmount the drives. Oh, and AFAIK, Time Machine only works with one drive as a backup.
posted by triolus to computers & internet (7 comments total)
2 users marked this as a favorite
posted by nathan_teske at 8:23 PM on August 14