The controlling the system chapter details commands that you may wish to use to interact with devices on your system and then details how to control processes and services/daemons.
eject simply tells a device to open (eject) the drive. Useful for cdrom/DVD drives.
For example the command below would eject the cdrom-drive (if your cdrom is linked to /dev/cdrom):
eject /dev/cdrom |
![]() |
This won't work unless |
|---|---|
|
This will only work if the user has permission to mount the partition. Please see the tip in Section 9.1 for more information. |
| Prev | Home | Next |
| Finding information about partitions | Mounting and Unmounting (Floppy/CDROM/Hard-drive Partitions) |
| Last updated Tue Nov 7 01:51:01 CET 2006 | Permalink: http://www.karakas-online.de/gnu-linux-tools-summary/controlling-the-system.html | All contents © 2003-2006 Gareth Anderson |