EJECT(1)

NAME
eject - eject removable media from drive

SYNOPSIS
eject [-fnv] device

DESCRIPTION
eject is a program to eject removable media from drive. The device is a removable drive name such as cd0, matcd0, mcd0, scd0, wcd0 or od0. eject unmounts the device if it was mounted brefore ejecting.

The following options are available:

-f  Force unmounts the device if it was mounted.

-n  Not execute operation but print it.

-v  Verbose mode.

ENVIRONMENT
If the following environment variable exists, it is used by eject:

EJECT
    Specifies default device.

FILES
/dev/rcd0c
/dev/rmatcd0c
/dev/rmcd0c
/dev/rscd0c
/dev/rwcd0c
/dev/rod0c

AUTHOR
Shunsuke Akiyama <akiyama@jp.FreeBSD.org>

HISTORY
The eject command appeared in FreeBSD 2.X