2018-09-05 13:07:44 +01:00
|
|
|
# eject
|
|
|
|
|
|
|
|
> Eject cds, floppy disks and tape drives.
|
2021-07-09 15:45:55 +01:00
|
|
|
> More information: <https://manned.org/eject>.
|
2018-09-05 13:07:44 +01:00
|
|
|
|
|
|
|
- Display the default device:
|
|
|
|
|
|
|
|
`eject -d`
|
|
|
|
|
|
|
|
- Eject the default device:
|
|
|
|
|
|
|
|
`eject`
|
|
|
|
|
|
|
|
- Eject a specific device (the default order is cd-rom, scsi, floppy and tape):
|
|
|
|
|
|
|
|
`eject {{/dev/cdrom}}`
|
|
|
|
|
|
|
|
- Toggle whether a device's tray is open or closed:
|
|
|
|
|
|
|
|
`eject -T {{/dev/cdrom}}`
|
|
|
|
|
|
|
|
- Eject a cd drive:
|
|
|
|
|
|
|
|
`eject -r {{/dev/cdrom}}`
|
|
|
|
|
|
|
|
- Eject a floppy drive:
|
|
|
|
|
|
|
|
`eject -f {{/mnt/floppy}}`
|
|
|
|
|
|
|
|
- Eject a tape drive:
|
|
|
|
|
|
|
|
`eject -q {{/mnt/tape}}`
|