Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eject: add page #2291

Merged
merged 6 commits into from
Sep 5, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions pages/linux/eject.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# eject

> Eject cds, floppy disks and tape drives.

- Display the default device:

`eject -d`

- Eject the default device:

`eject`
mfrw marked this conversation as resolved.
Show resolved Hide resolved

- Eject a specific device:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this case, what does it eject ? CD, floppy or tape ? We should mention that.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's ordered as:
cd-rom, scsi, floppy and tape

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's mention that in parentheses.


`eject {{name_of_device}}`

- Toggle whether a device's tray is open or closed:

`eject {{name_of_device}} -T`
mfrw marked this conversation as resolved.
Show resolved Hide resolved

- Eject a cd drive:

`eject {{name_of_device}} -r`

- Eject a floppy drive:

`eject {{name_of_device}} -f`

- Eject a tape drive:

`eject {{name_of_device}} -q`