Skip to main content

How to be sure a drive has ejected from a Mac





Bob Cronan wonders how to be sure that macOS is no longer using the USB stick he relies on before he physically removes it from his Mac.
How do I know that the ‘stick’ is completely released/powered-off before I remove it? If I recall correctly, other OSes issue a message that it’s safe to remove the volume.
This is one of the most-asked questions we receive, and while we’ve answered aspects of it in recent years, Mac 911 hasn’t offered all the details in one place.
Apple has gotten much better about letting you know the status of a mounted disk or networked volume over the history of OS X and now macOS. It used to be maddening to know what was going on. Later, you received an error, but had no action to take. In the current form of the last few releases, the OS gives you a variety of feedback.
You can eject a physically attached, inserted, or networked volume by:
  • Right-clicking it and selecting Eject “Volume Name”.
  • Selecting it in any view (on the Desktop, in a Finder window, etc.) and choosing File > Eject “Volume Name”.
  • Dragging it on top of what looks like the Trash icon in the Dock, but which changes to an eject symbol when you start dragging.
  • Bringing up any Finder window, and clicking the Eject icon next to the drive’s name in the sidebar. (If you don’t see the sidebar, choose View > Show Sidebar. If drives don’t appear below the Devices label, choose Finder > Preferences > Sidebar, and make sure the appropriate options are checked in the Devices section.)
Once you’ve initiated eject, OS X and macOS fade the device’s icon while the process of removing temporary files and confirming no application or background process has files on the drive that are in use. If all goes well, the drive then disappears from the Desktop and sidebar. Sometimes the grayed-out stage happens so quickly that you don’t even notice it.
If anything running on your Mac still has active and open files, the OS used to just tell you that the drive was in use and left you to your own, er, devices. But the improvement in modern versions is that, after a moment, you’re told either which application has prevented ejection or that one or more applications is making use of it.
At this point, you should see a spinner labeled Trying To Eject while the OS waits to see if file usage changes, which could happen if you quit a program and immediately tried to eject. Failing that or after that attempt has timed out, you should have a dialog with the buttons Try Again, Cancel, and Force Eject. Try Again is useful if you’re still waiting for a program to quit, while Cancel is obvious.
Force Eject is a dangerous choice, because it can render some files on the ejected drive unreadable or in a weird state. It should be a very last resort.
I provided one deeper technical option to track down applications that won’t let go in this column from last year, which requires using the Terminal app and the command line.
You can also check the system log, a low-level text file that tracks certain activities (often failures):
  1. Launch Applications > Utilities > Console.
  2. Click the system.log link in the left sidebar.
  3. Click in the text at right and press Command-F (or choose Edit > Find > Find), and then UnmountAssistantAgent
If anything matches, you’ll see the name of a program or system tool. For instance, items that start with mds have to do with Spotlight indexing.
If all else fails, shutting down the system lets you remove anything attached that the system won’t let go with the least chance of file corruption.

Comments

Popular posts from this blog

Who Is Zuleyka Rivera? 5 Things To Know About The ‘Despacito’ Actress

With ‘Despacito’ up for Record of the Year at the 2018 Grammy Awards, here’s everything you need to know about the music video’s actress — Zuleyka Rivera! 1. She’s a renowned beauty queen.  Not only did she claim the Miss Universe Puerto Rico title, Zuleyka eventually took the top prize and was later crowned Miss Universe in 2006. 2. After her huge Miss Universe win, she studied acting and eventually became a TV star.  She now lives in Miami where she’s frequently a special guest or a host on shows like  Un Nuevo Dia  on Telemundo and  Despierta America  on Univision. Before that, she became a breakout star by appearing on several Televisa soap operas in Mexico. 3. In addition to modeling, she also owns her own clothing line.  On top of running her own teen-ware clothing collection, she also has three fragrance lines called the Karisma, Zuleyka and Zuleyka 2010. If that wasn’t impressive enough, she also started an amazing swims...

Frank Ocean new album: How to listen and stream Boys Don’t Cry when it drops

After two missed release dates a year apart and a confusing decoy of a “live stream” video, Frank Ocean is set to finally release his second album,  Boys Don’t Cry , on Friday 5 August. It will be launched through an exclusive deal with Apple Music, according to the  New York Times , who cite a ‘person with knowledge of the release plans’. If indeed this is the case (and it would make sense, that live stream has an Apple watermark), it means you’ll need to sign up for Apple Music to listen to the  Channel Orange  follow-up, which costs £9.99 a month (£4.99 for students through Apple’s UNiDAYS promotion). You might want to turn off auto-renewal off though (Apple Music app > profile icon > View Apple ID. > Subscriptions > Manage > switch Auto-Renewal off), if you’re the kind of person who, like me, is liable to forget that you’ve signed up for the service indefinitely. Beyond Apple Music...

Celine Dion Gives a Tearful Interview After Her 2016 Billboard Music Awards Performance: "Music Is Extremely Therapeutic"

As  Céline Dion  sang, "The Show Must Go On"—and go on it did. At the  2016 Billboard Music Awards  Sunday, the 48-year-old diva brought down the house with her cover of  Queen 's "The Show Must Go On." Celine received a standing ovation inside the T-Mobile Arena in Las Vegas, and to top it off, she received the ICON Award from her 15-year-old son,  René-Charles Angélil . A surprised and emotional Celine thanked her fans, family, children, and "most importantly," her late husband  René Angélil , "who I know will continue to watch over me from above." Celine added, "René, this one's for you. The show must go on." Celine then made her way backstage to do interviews, but paused to watch  Madonna  and  Stevie Wonder 's tribute to  Prince . She danced, sang along and snapped her fingers as they performed"Nothing Compares 2 U" (which Prince wrote  Sinéad O'Connor ) and "Purple Rain." Afterward, C...