man diskutil diskutil unmount /Volumes/DriveName disktuil eject /Volumes/DriveName (for CD/DVDs) On Mar 30, 2004, at 5:00 PM, Jerry Krinock wrote: > I'm trying to eject a Firewire drive from a script while running both > the > Finder and "Path Finder", (which is another "Finder"-type application > with > more features). > > If I was just running the Finder, an Applescript to tell Finder to > eject > [theDrive] seems to work. But this sometimes leaves it "orphaned" in > Path > Finder. Also, executing the following shell commands from /Volumes: > > sudo umount -f theDrive > sudo rm -rf theDrive > > removes theDrive from /Volumes, but leaves it "orphaned" in the > Finder, and > also, if I then pull the plug on the drive I get the "you shouldn't > have > done that" red alert. > > Does anyone know how various parts of the system and applications know > what > disks are mounted? It seems to me that this information should be > kept by > in some central file and that all the apps and warnings should look to > it. > But it doesn't seem to work that way. They all seem to have their own > ideas. How does this work? Or doesn't it? > > Jerry Krinock > > > ---------- > Check out the Mac OS X email list FAQ > http://www.themacintoshguy.com/lists/X.html > > To unsubscribe, E-mail to: <X-Unix-off at lists.themacintoshguy.com> > To switch to the DIGEST mode, E-mail to > <X-Unix-digest at lists.themacintoshguy.com> > Need help from a real person? Try. > <X-Unix-request at lists.themacintoshguy.com> > > ---------- > $14.99 Unlimited Nationwide Mac Dialup and Mac Web Hosting from your > Mac ISP > Serious Mac Internet Solutions From NineWire! > http://macinternetaccess.com > > DVIator | Run Dual ADC displays on your G4 or just one on an older > Mac! > Dr. Bott | <http://www.drbott.com/prod/DVIator.html> > > Support | Support this list by clicking here before you buy! > this List | http://www.themacintoshguy.com/support.html > > OS X News, Dr.Mac, Forums, Tutorials, Tips, Hints, FAQ?s - > http://www.osxfaq.com >