Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Basicly I have now a hard disc on firewire, but for some reason or another it won't unmount when I shut down the computer and keeps spinning after the computer is off. I could probably resolve this with new drivers etc. But I really can not be bothered to find the problem. Unmounting manualy still works and that is what I currently do. I press Command + Y after higlighting the disc to unmount it. But I would like to make an apple script do it for me (I'm lazy). But recording one doesn't work. What do i need to put in the applescript? Thanks.

"I can't be bothered to find the problem."
So you make *US* do your work for you?
You do realise that writing an AppleScript will take about twice as long as getting the right drivers, don't you?
p

An applescript example of what I need.
tell application "Finder"
activate
select disk "Disc 2"
---unmount command here---
end tellDoesn't look like it would take to long to me. And do you not think i've searched for the drivers? I have. I couldn't find any. So I gave up. And I couldn't be bothered to try and find them again. Applescript is a much easier option. Even if you don't think so.
And I don't want you to do it for me. I've already done it except for the command needed to unmount the drive. Like I said before recording doesn't work. So is someone going to tell me the command or what? Please?

A standard *nix unmount oughta do it.
Is this FireWire hard disk attached to the stock FireWire bus or an add-in card?
What brand is the enclosure?p

I dunno. I just bought it off a friend, its only a 5 gig, I use it to keep all my photos and pictures on it. I just stuck it into the firewire port on the side of my iMac. Even though its a small deal its bloody annoying if someone else uses my mac and doesn't unmount it when the shutdown. I walk in to hear this high pitched whining... most of the time I just turn the thing off. But it would be nice to get the applescript to do it for me.
And... whats a *nix unmount? How would I right that down in the script?
just
tell application "Finder"
activate
select disk "Disc 2"
*nix unmount
end tell?Thanks for the help so far by the way, even though you may find me unbearably lazy.

Right, but you need to know what specific volume you're unmounting. Something like /dev/ and then a descriptor of the volume to be unmounted.
p

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |