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 this forum thread, which concludes that (for a flash drive) they are both equal and also equivalent to use the umount command. However, this last assertion seems to be false.
If I use umount from the console to unmount my flash dive, and then I use the command lsblk, I still see my device (with nothing under MOUNTPOINT, of course). On the other hand, if I eject or safely remove my flash drive, lsblk does not list it anymore.
So, my question is, what would be the console command/commands that would really reproduce the behaviour of eject and safely remove?
|
|
||||
|
If you are using
I would recommend first to unmount all filesystems on that usb. This can be done also with
If you are not using
|
|||||||||||||
|
|
After
Here is its usb bus path...
Even though I almost never mount it, it's been plugged in and blinking for a long time, I guess...
I should do something about that:
Now I'll have a look at it again...
Hmmm...
|
|||||||||||||||||||||
|
/usr/share/applications/or something like that. If you open it in a text editor, the Exec=... field corresponds to the command that runs when you click on it. – spelufo Jan 11 '15 at 22:59