How do I eject a device that is not mounted?

Jump to: navigation, search

The context menu for a device link only offers me the possibility to mount a device, not to eject it when it is empty.

Yecril71pl11:09, 28 September 2010

Unlike CDs, removable drives are not ejected. Think "Safely Remove". If the context menu offers you only the possibility to mount, then you are not mounted and it is safe to remove the device. If the device is mounted you will be offered the "Safely Remove" option. That flushes any buffers in use, so that you don't lose data when you remove it. The same options can be seen in the Device Notifier, where there is a small plug icon if the device is unmounted, and an eject icon (up-arrow in a circle, similar to on video players) when it is mounted. Always allow a few seconds to ensure that nothing is still writing to your drives.

annew13:34, 28 September 2010
 

How do I eject an empty CD tray?

Yecril71pl01:28, 7 January 2011
 
  1. Create file eject.sh in a preferred folder (e.g. your home folder).
  2. Edit this file. Just add
#!/bin/sh
eject /dev/cdrom

in it.

  1. Make the file executable through Properties of the context menu of Dolphin'.
  2. Make right mouse button click on Dolphin side bar.
  3. Choose Add item....
  4. Fill the fields of the window that appeared. Add Eject disk in Label field and the address of your script in Address field. Choose the appropriate icon.
  5. Click on OK.
Yurchor09:39, 7 January 2011
 
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal