Quick tip: Eject media from the command line
Mac OS X, Tips & Tricks, Command Line
Perhaps you’ve run into the following problem: some inserted media (either a CD or DVD) refuses to eject itself when you hit the eject key. Often a reboot will fix this problem, but before you try rebooting, open up your Terminal and type the following: drutil tray open or drutil eject - both of those commands should work to eject whatever media is stubbornly staying in the drive (unless of course the drive is damaged). If you’re feeling cheeky and wanted to play a prank on someone, using those commands you could ssh into their machine and eject whatever media is in their drive, but that would be mean.
Mac Deals from the Apple Store:
Social bookmarks:
- del.icio.us | Digg it | Furl | ma.gnolia | Netscape | reddit | StumbleUpon | Yahoo MyWeb |
Comments:
Comments: 3
Pingback from Mac Info » Blog Archive » Střípky zajímavostí
Time: March 28, 2007, 3:10 am
[…] vyjmutí média z mechaniky drutil eject nebo drutil tray open, když se mac rozhodne vám médium nevydat, tak před restartem zkuste terminál […]
Comment from Achey Breaky
Time: March 28, 2007, 11:08 am
With the new eject delay from 10.4.9 this is actually very very useful to immediately spit out a disk, thanks for the tip
Comment from popctrlx
Time: August 20, 2007, 1:00 pm
how can a i make this from windows xp/cmd screen


Write a comment