Eject command

eject is a command to make the machine eject a removable media (typically optical media like a CD or DVD.) This includes the actions of the umount command, including failure if the device is still in use.

Provided by
Most (all?) Linux distributions incorporate this from the [util-linux] project.