CmdID

CmdID / Commands

eject

Eject DEVICE or default /dev/cdrom toybox

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Linux

from the toybox, 0BSD
eject [-stT] [DEVICE]
-sSCSI device
-tClose tray
-TOpen/close tray (toggle)

Eject CDs, floppy disks, tape drives, and USB sticks.

Display the default device

eject --defaultIdentify

Eject the default device

Eject a specific device (the default order is cd-rom, scsi, floppy, and tape)

eject /dev/cdromIdentify

Toggle whether a device's tray is open or closed

eject --traytoggle /dev/cdromIdentify

Eject a cd drive

eject --cdrom /dev/cdromIdentify

Eject a floppy drive

eject --floppy /mnt/floppyIdentify

Eject a tape drive

eject --tape /mnt/tapeIdentify

Set whether the physical eject button is ignored (on prevents ejecting)

eject --manualeject onIdentify