Ubuntu – the difference between Eject and Safely Remove Device

11.10ejectunmount

Taking this question and it's answer into account What is the difference between "Unmount", "Eject", "Safely Remove Drive" and the eject icon? I ask:

Why do both options appear if they are the same.

Is there some kind of difference in regards to how they unmount the unit (Just in case they changed their functionality in the latest Ubuntu versions) and if they are the same, would it be possible to remove one of them.

Best Answer

umount removes the device from the file system (mount point).

Eject and Safely remove both do basically the same thing on a flash drive.

sync the data , then un-mount (remove the drive from the file system).

In addition, eject would eject the media (think CD/DVD).

It is sort of a bug that both these options show with flash drives.

The expected behavior would be

Safely Remove - USB/Flash drive - sync data && unmount ; user then physically removes the drive

Eject - CDROM/DVD - unmount && eject physical media