How do you unmount the "internal" drive of a Mac Mini?

Hi everyone,

I have an intel Mac Mini (running Panther) which I boot from an external firewire drive. I’ve found scripts on this site that will unmount my external drives but I haven’t found anything that will unmount the internal drive (the factory installed one). I can physically (well, “physically” in virtual terms) drag the drive image “MacMini_HD” to the trash and it will eject, I just can’t accomplish this with an applescript.

Can this be done with an applescript?

Any help would really be sincerely appreciated.



this is the common method to unmount volumes

do shell script "diskutil unmount /Volumes/MacMini_HD"