Questions tagged [eject]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
0answers
36 views

Linux: how to ensure it's possible to remove USB stick from commandline?

When working from command line I usually use an USB mass storage device with customary: sudo mount /dev/sde1 /mnt -o rw,umask=0000 ... use it... sudo umount /mnt This works fine IF you let the stick ...
0
votes
0answers
20 views

Eject live CD on reboot/shutdown

This problem has been posted before but didn't seem fully resolved (link: Eject CD on shutdown). So the problem is booting off of live CD then I want to eject the CD on reboot or shutdown. I have ...
-2
votes
1answer
56 views

I ejected Bootable SSD from ubuntu UI accidentally, oops?

I was trying eject the USB stick drive from my Linux machine, when I accidentally clicked on wrong drive and ended up ejecting the SSD drive. Now that SSD also happens to the bootable SSD With stored ...
2
votes
1answer
132 views

How do I plug in a usb-drive?

Problem After using the following command on my usb-drive (/dev/sdd): # physically plugging usb-drive in at /dev/sdd > umount /dev/sdd1 > eject /dev/sdd I am unable to undo this last action. ...
2
votes
2answers
104 views

How does 'eject' get processes to close file handles?

On my Mac, when I 'eject' a network-mounted share, my Mac presents me with the following message, and attempts to get processes to close open file handles and cleanly dismount the share. My question ...
0
votes
0answers
24 views

Unwanted permanent umount [duplicate]

The problem I've got a simple question: what's the difference between ejecting flash drive using GNOME Files (formerly known as Nautilus) button (see image below) and umount command? Before you will ...
0
votes
1answer
82 views

Auto swallow and eject cd (from the commandline)

I am trying to close and eject cd from the commandline. The purpose is to rip a lot of audio cds with abcde. I use eject and eject -t commands to open and close the cd drive. I mount my cdrom with ...
1
vote
1answer
116 views

Safe removal of flash disk

In Ubuntu 16.04, I try to safely remove the flash disk from the command line. When I run the following script (from the Eject / safely remove vs umount): udisksctl unmount -b /dev/sdb1 udisksctl ...
41
votes
2answers
61k views

Eject / safely remove vs umount

I'm using Ubuntu 12.04, and when I rigth click on a my flash drive icon (in the Unity left bar) I get two options that have me confused: eject and safely remove. The closer I came to an answer was ...
3
votes
2answers
2k views

How to safely eject usb hardrive - udisks returns “detach failed: ..”

I have a USB external hard drive with several partitions, and I cannot spin down the hard drive to get it to eject. Any suggestions? I unmounted all partitions through Nautilus, but the drive is still ...
13
votes
2answers
5k views

How can I disable the button of my CD/DVD drive?

Up until Fedora 14 I was successfully using cdctl to enable/disable the CD/DVD eject button on my laptop (Thinkpad T410). Sadly it has stopped working now. I've consulted the methods discussed in ...
0
votes
2answers
2k views

Fedora 18 safe remove usb drive

How can I safe remove a usb drive from the Gnome 3.6.2 GUI? This feature used to be available in the past (up to 16, I haven't used 17) from the Desktop and Computer tab in nautilus. The eject arrow ...
1
vote
0answers
235 views

Making the keyboard eject switch work

My keyboard switch for ejecting the CDROM does not work though it displays an eject button on the screen. I need to make it work. I know ejecting a cdrom using system call is as simple as ioctl(...
55
votes
9answers
115k views

Eject USB drives / eject command

I know that the eject command can be used to eject almost any hardware component attached, but can it be used to eject USB drives? Is it possible to eject USB drives and external HDD's with the eject ...
5
votes
1answer
2k views

Selectively disabling gvfsd-cdda in Debian Squeeze?

Is there a way to selectively disable gvfsd-cdda on Debian Squeeze? Since I updated my machine to Squeeze grip can no longer eject a CD, which interferes with ripping. I traced it back to gvfsd-cdda, ...
1
vote
1answer
980 views

How to mount a disk on key on Red-Hat 6 (Beta) after ejecting it

I have a Cruzer disk on key which was recognized automatically by my RedHat6-beta OS. I removed it always using the GUI option "Safely remove", but one time by mistake I selected "Eject" and from ...