eject merged into util-linux
Karel Zak
maintainerThe original eject project (at sourceforge.net) is inactive for more than 4 year. Unfortunately, the command is still used in mainstream Linux distributions (for example udisks depends on the eject functionality). Changes:
* complete refactoring (the original code was real mess...)
* merged patches from Fedora (auto-eject, manual-eject, close-tray list-speed and removable/hotpluggable-check patches)
* removed support for incomplete paths (for example "eject foo" was interpreted as "eject /media/foo" or "eject /mnt/foo". The incomplete paths are supported for devices only (e.g. "eject sda").
FOR MOUNTPOINT YOU HAVE TO SPECIFY COMPLETE PATH!
* enabled by default (and added --disable-eject)
* if a partition is specified, whole-disk device is used for eject ioctl(s), for example "eject /dev/sda1" is the same as "eject /dev/sda"
Thanks to Michal Luscon for help.
Karel
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com
Quoted 4 lines · Karel Zak
The original eject project (at sourceforge.net) is inactive for more
than 4 year. Unfortunately, the command is still used in mainstream Linux distributions (for example udisks depends on the eject functionality).
Great news! This was one of my favorite tools when I first began using Linux, nice to have it in u-l now.
Quoted 23 lines
Changes:
* complete refactoring (the original code was real mess...)
* merged patches from Fedora (auto-eject, manual-eject, close-tray list-speed and removable/hotpluggable-check patches)
* removed support for incomplete paths (for example "eject foo" was interpreted as "eject /media/foo" or "eject
/mnt/foo". The incomplete paths are supported for devices only (e.g. "eject sda").FOR MOUNTPOINT YOU HAVE TO SPECIFY COMPLETE PATH!
* enabled by default (and added --disable-eject)
* if a partition is specified, whole-disk device is used for eject ioctl(s), for example "eject
/dev/sda1" is the same as "eject/dev/sda"Thanks to Michal Luscon for help.
Karel