| EJECT(1) | General Commands Manual | EJECT(1) |
eject — eject a
floppy disk, cdrom or tape
eject |
[-fv] [-l |
-L | -U]
[-t device-type]
[-d] device |
eject |
-n |
The eject program ejects a medium from the
specified device. It can also load a cdrom in the drive if this operation is
supported by the hardware. The device argument
specifies a device either by its full path name (identified by a
/dev/ prefix), or by one of the built-in nicknames.
If the medium contains a file system that is currently mounted,
eject will attempt to unmount the file system before
ejecting.
The following options are available:
-d-f-l-L-n-t
device-type-U-vMost disk drivers automatically lock the media on the first open
and unlock it on the last close, making
‘’ almost useless, since when it
closes the device, it gets unlocked again.eject
-L
| October 6, 2001 | NetBSD 11.0 |