Unmounting firewire disk leaves it active. Why?

I am attempting to unmount a firewire disk when my script completes, and it’s sort of weird.

When I do shell script “umount /Volumes/TheDrive”, it unmounts from the desktop, but when I unplug the firewire cable I get the “Warning device disconnect” mumbo jumbo

Any idea how to get this to unmount completely?

Thanks!

If I’m not mistaken, when you unmount a volume, the disk is still available to the system. This allows some partitions to be mounted while others aren’t. What happens if you use this?

tell application "Finder" to eject disk "disk name"

– Rob

That works well, thanks again Rob!