1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/eject.md

37 lines
716 B
Markdown
Raw Normal View History

2018-09-05 13:07:44 +01:00
# eject
> Eject cds, floppy disks and tape drives.
> More information: <https://manned.org/eject>.
2018-09-05 13:07:44 +01:00
- Display the default device:
`eject {{[-d|--default]}}`
2018-09-05 13:07:44 +01:00
- 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|--traytoggle]}} {{/dev/cdrom}}`
2018-09-05 13:07:44 +01:00
- Eject a cd drive:
`eject {{[-r|--cdrom]}} {{/dev/cdrom}}`
2018-09-05 13:07:44 +01:00
- Eject a floppy drive:
`eject {{[-f|--floppy]}} {{/mnt/floppy}}`
2018-09-05 13:07:44 +01:00
- Eject a tape drive:
`eject {{[-q|--tape]}} {{/mnt/tape}}`
- Set whether the physical eject button is [i]gnored (`on` prevents ejecting):
`eject {{[-i|--manualeject]}} {{on|off}}`