eject — Eject Media such as CD-ROM and Diskette from Drive

Synopsis

/usr/bin/eject [-dfnpq] [device | nickname] 

Description

Use the eject command for those removable media devices that do not have a manual eject button, or for those that do but are managed by Volume Management (see vold(1M)). You can specify the device by its name or by a nickname; if Volume Management is running and no device is specified, eject uses the default device.

Note

Only devices that support eject under program control respond to this command. eject responds differently, depending on whether or not Volume Management is running.

eject can also display its default device and a list of nicknames.

With Volume Management

When you use eject on media that can be ejected ...

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.