Eject version
%s
by Jeff Tranter (tranter@pobox.com)
Usage:
eject -h
[tab]
[tab]
[tab]
[tab]
-- display command usage and exit
eject -V
[tab]
[tab]
[tab]
[tab]
-- display program version and exit
eject [-vnrsfqpm] [<name>]
[tab]
[tab]
-- eject device
eject [-vn] -d
[tab]
[tab]
[tab]
-- display default device
eject [-vn] -a on|off|1|0 [<name>]
[tab]
-- turn auto-eject feature on or off
eject [-vn] -c <slot> [<name>]
[tab]
-- switch discs on a CD-ROM changer
eject [-vn] -t [<name>]
[tab]
[tab]
-- close tray
eject [-vn] -T [<name>]
[tab]
[tab]
-- toggle tray
eject [-vn] -i on|off|1|0 [<name>]
[tab]
-- toggle manual eject protection on/off
eject [-vn] -x <speed> [<name>]
[tab]
-- set CD-ROM max speed
eject [-vn] -X [<name>]
[tab]
[tab]
-- list CD-ROM available speeds
Options:
-v
[tab]
-- enable verbose output
-n
[tab]
-- don't eject, just show device found
-r
[tab]
-- eject CD-ROM
-s
[tab]
-- eject SCSI device
-f
[tab]
-- eject floppy
-q
[tab]
-- eject tape
-p
[tab]
-- use /proc/mounts instead of /etc/mtab
-m
[tab]
-- do not unmount device even if it is mounted